// 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 'kiyafet_preset.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', ); KiyafetPreset _$KiyafetPresetFromJson(Map json) { return _KiyafetPreset.fromJson(json); } /// @nodoc mixin _$KiyafetPreset { String get id => throw _privateConstructorUsedError; String get ad => throw _privateConstructorUsedError; String get prompt => throw _privateConstructorUsedError; String? get referansFotoYolu => throw _privateConstructorUsedError; /// Serializes this KiyafetPreset to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of KiyafetPreset /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $KiyafetPresetCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $KiyafetPresetCopyWith<$Res> { factory $KiyafetPresetCopyWith( KiyafetPreset value, $Res Function(KiyafetPreset) then, ) = _$KiyafetPresetCopyWithImpl<$Res, KiyafetPreset>; @useResult $Res call({String id, String ad, String prompt, String? referansFotoYolu}); } /// @nodoc class _$KiyafetPresetCopyWithImpl<$Res, $Val extends KiyafetPreset> implements $KiyafetPresetCopyWith<$Res> { _$KiyafetPresetCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of KiyafetPreset /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? ad = null, Object? prompt = null, Object? referansFotoYolu = freezed, }) { return _then( _value.copyWith( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, ad: null == ad ? _value.ad : ad // ignore: cast_nullable_to_non_nullable as String, prompt: null == prompt ? _value.prompt : prompt // ignore: cast_nullable_to_non_nullable as String, referansFotoYolu: freezed == referansFotoYolu ? _value.referansFotoYolu : referansFotoYolu // ignore: cast_nullable_to_non_nullable as String?, ) as $Val, ); } } /// @nodoc abstract class _$$KiyafetPresetImplCopyWith<$Res> implements $KiyafetPresetCopyWith<$Res> { factory _$$KiyafetPresetImplCopyWith( _$KiyafetPresetImpl value, $Res Function(_$KiyafetPresetImpl) then, ) = __$$KiyafetPresetImplCopyWithImpl<$Res>; @override @useResult $Res call({String id, String ad, String prompt, String? referansFotoYolu}); } /// @nodoc class __$$KiyafetPresetImplCopyWithImpl<$Res> extends _$KiyafetPresetCopyWithImpl<$Res, _$KiyafetPresetImpl> implements _$$KiyafetPresetImplCopyWith<$Res> { __$$KiyafetPresetImplCopyWithImpl( _$KiyafetPresetImpl _value, $Res Function(_$KiyafetPresetImpl) _then, ) : super(_value, _then); /// Create a copy of KiyafetPreset /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? ad = null, Object? prompt = null, Object? referansFotoYolu = freezed, }) { return _then( _$KiyafetPresetImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, ad: null == ad ? _value.ad : ad // ignore: cast_nullable_to_non_nullable as String, prompt: null == prompt ? _value.prompt : prompt // ignore: cast_nullable_to_non_nullable as String, referansFotoYolu: freezed == referansFotoYolu ? _value.referansFotoYolu : referansFotoYolu // ignore: cast_nullable_to_non_nullable as String?, ), ); } } /// @nodoc @JsonSerializable() class _$KiyafetPresetImpl implements _KiyafetPreset { const _$KiyafetPresetImpl({ required this.id, required this.ad, this.prompt = '', this.referansFotoYolu, }); factory _$KiyafetPresetImpl.fromJson(Map json) => _$$KiyafetPresetImplFromJson(json); @override final String id; @override final String ad; @override @JsonKey() final String prompt; @override final String? referansFotoYolu; @override String toString() { return 'KiyafetPreset(id: $id, ad: $ad, prompt: $prompt, referansFotoYolu: $referansFotoYolu)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$KiyafetPresetImpl && (identical(other.id, id) || other.id == id) && (identical(other.ad, ad) || other.ad == ad) && (identical(other.prompt, prompt) || other.prompt == prompt) && (identical(other.referansFotoYolu, referansFotoYolu) || other.referansFotoYolu == referansFotoYolu)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, id, ad, prompt, referansFotoYolu); /// Create a copy of KiyafetPreset /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$KiyafetPresetImplCopyWith<_$KiyafetPresetImpl> get copyWith => __$$KiyafetPresetImplCopyWithImpl<_$KiyafetPresetImpl>(this, _$identity); @override Map toJson() { return _$$KiyafetPresetImplToJson(this); } } abstract class _KiyafetPreset implements KiyafetPreset { const factory _KiyafetPreset({ required final String id, required final String ad, final String prompt, final String? referansFotoYolu, }) = _$KiyafetPresetImpl; factory _KiyafetPreset.fromJson(Map json) = _$KiyafetPresetImpl.fromJson; @override String get id; @override String get ad; @override String get prompt; @override String? get referansFotoYolu; /// Create a copy of KiyafetPreset /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$KiyafetPresetImplCopyWith<_$KiyafetPresetImpl> get copyWith => throw _privateConstructorUsedError; }