// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'note_chunk.dart'; // ************************************************************************** // FreezedGenerator // ************************************************************************** T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', ); /// @nodoc mixin _$NoteChunkEntity { String get id => throw _privateConstructorUsedError; String get text => throw _privateConstructorUsedError; String get sourceId => throw _privateConstructorUsedError; String get createdAt => throw _privateConstructorUsedError; /// Create a copy of NoteChunkEntity /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $NoteChunkEntityCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $NoteChunkEntityCopyWith<$Res> { factory $NoteChunkEntityCopyWith( NoteChunkEntity value, $Res Function(NoteChunkEntity) then, ) = _$NoteChunkEntityCopyWithImpl<$Res, NoteChunkEntity>; @useResult $Res call({String id, String text, String sourceId, String createdAt}); } /// @nodoc class _$NoteChunkEntityCopyWithImpl<$Res, $Val extends NoteChunkEntity> implements $NoteChunkEntityCopyWith<$Res> { _$NoteChunkEntityCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of NoteChunkEntity /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? text = null, Object? sourceId = null, Object? createdAt = null, }) { return _then( _value.copyWith( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, text: null == text ? _value.text : text // ignore: cast_nullable_to_non_nullable as String, sourceId: null == sourceId ? _value.sourceId : sourceId // ignore: cast_nullable_to_non_nullable as String, createdAt: null == createdAt ? _value.createdAt : createdAt // ignore: cast_nullable_to_non_nullable as String, ) as $Val, ); } } /// @nodoc abstract class _$$NoteChunkEntityImplCopyWith<$Res> implements $NoteChunkEntityCopyWith<$Res> { factory _$$NoteChunkEntityImplCopyWith( _$NoteChunkEntityImpl value, $Res Function(_$NoteChunkEntityImpl) then, ) = __$$NoteChunkEntityImplCopyWithImpl<$Res>; @override @useResult $Res call({String id, String text, String sourceId, String createdAt}); } /// @nodoc class __$$NoteChunkEntityImplCopyWithImpl<$Res> extends _$NoteChunkEntityCopyWithImpl<$Res, _$NoteChunkEntityImpl> implements _$$NoteChunkEntityImplCopyWith<$Res> { __$$NoteChunkEntityImplCopyWithImpl( _$NoteChunkEntityImpl _value, $Res Function(_$NoteChunkEntityImpl) _then, ) : super(_value, _then); /// Create a copy of NoteChunkEntity /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? text = null, Object? sourceId = null, Object? createdAt = null, }) { return _then( _$NoteChunkEntityImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, text: null == text ? _value.text : text // ignore: cast_nullable_to_non_nullable as String, sourceId: null == sourceId ? _value.sourceId : sourceId // ignore: cast_nullable_to_non_nullable as String, createdAt: null == createdAt ? _value.createdAt : createdAt // ignore: cast_nullable_to_non_nullable as String, ), ); } } /// @nodoc class _$NoteChunkEntityImpl implements _NoteChunkEntity { const _$NoteChunkEntityImpl({ required this.id, required this.text, required this.sourceId, required this.createdAt, }); @override final String id; @override final String text; @override final String sourceId; @override final String createdAt; @override String toString() { return 'NoteChunkEntity(id: $id, text: $text, sourceId: $sourceId, createdAt: $createdAt)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$NoteChunkEntityImpl && (identical(other.id, id) || other.id == id) && (identical(other.text, text) || other.text == text) && (identical(other.sourceId, sourceId) || other.sourceId == sourceId) && (identical(other.createdAt, createdAt) || other.createdAt == createdAt)); } @override int get hashCode => Object.hash(runtimeType, id, text, sourceId, createdAt); /// Create a copy of NoteChunkEntity /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$NoteChunkEntityImplCopyWith<_$NoteChunkEntityImpl> get copyWith => __$$NoteChunkEntityImplCopyWithImpl<_$NoteChunkEntityImpl>( this, _$identity, ); } abstract class _NoteChunkEntity implements NoteChunkEntity { const factory _NoteChunkEntity({ required final String id, required final String text, required final String sourceId, required final String createdAt, }) = _$NoteChunkEntityImpl; @override String get id; @override String get text; @override String get sourceId; @override String get createdAt; /// Create a copy of NoteChunkEntity /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$NoteChunkEntityImplCopyWith<_$NoteChunkEntityImpl> get copyWith => throw _privateConstructorUsedError; }