// 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 'image.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'); Image _$ImageFromJson(Map json) { return _Image.fromJson(json); } /// @nodoc mixin _$Image { String get path => throw _privateConstructorUsedError; Map toJson() => throw _privateConstructorUsedError; @JsonKey(ignore: true) $ImageCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ImageCopyWith<$Res> { factory $ImageCopyWith(Image value, $Res Function(Image) then) = _$ImageCopyWithImpl<$Res, Image>; @useResult $Res call({String path}); } /// @nodoc class _$ImageCopyWithImpl<$Res, $Val extends Image> implements $ImageCopyWith<$Res> { _$ImageCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; @pragma('vm:prefer-inline') @override $Res call({ Object? path = null, }) { return _then(_value.copyWith( path: null == path ? _value.path : path // ignore: cast_nullable_to_non_nullable as String, ) as $Val); } } /// @nodoc abstract class _$$ImageImplCopyWith<$Res> implements $ImageCopyWith<$Res> { factory _$$ImageImplCopyWith( _$ImageImpl value, $Res Function(_$ImageImpl) then) = __$$ImageImplCopyWithImpl<$Res>; @override @useResult $Res call({String path}); } /// @nodoc class __$$ImageImplCopyWithImpl<$Res> extends _$ImageCopyWithImpl<$Res, _$ImageImpl> implements _$$ImageImplCopyWith<$Res> { __$$ImageImplCopyWithImpl( _$ImageImpl _value, $Res Function(_$ImageImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @override $Res call({ Object? path = null, }) { return _then(_$ImageImpl( path: null == path ? _value.path : path // ignore: cast_nullable_to_non_nullable as String, )); } } /// @nodoc @JsonSerializable() class _$ImageImpl implements _Image { const _$ImageImpl({required this.path}); factory _$ImageImpl.fromJson(Map json) => _$$ImageImplFromJson(json); @override final String path; @override String toString() { return 'Image(path: $path)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ImageImpl && (identical(other.path, path) || other.path == path)); } @JsonKey(ignore: true) @override int get hashCode => Object.hash(runtimeType, path); @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') _$$ImageImplCopyWith<_$ImageImpl> get copyWith => __$$ImageImplCopyWithImpl<_$ImageImpl>(this, _$identity); @override Map toJson() { return _$$ImageImplToJson( this, ); } } abstract class _Image implements Image { const factory _Image({required final String path}) = _$ImageImpl; factory _Image.fromJson(Map json) = _$ImageImpl.fromJson; @override String get path; @override @JsonKey(ignore: true) _$$ImageImplCopyWith<_$ImageImpl> get copyWith => throw _privateConstructorUsedError; }