// 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 'sahne_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', ); SahnePreset _$SahnePresetFromJson(Map json) { return _SahnePreset.fromJson(json); } /// @nodoc mixin _$SahnePreset { String get id => throw _privateConstructorUsedError; String get ad => throw _privateConstructorUsedError; String get prompt => throw _privateConstructorUsedError; String get isikLighting => throw _privateConstructorUsedError; String get kameraHareketi => throw _privateConstructorUsedError; String get atmosfer => throw _privateConstructorUsedError; /// Serializes this SahnePreset to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of SahnePreset /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $SahnePresetCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $SahnePresetCopyWith<$Res> { factory $SahnePresetCopyWith( SahnePreset value, $Res Function(SahnePreset) then, ) = _$SahnePresetCopyWithImpl<$Res, SahnePreset>; @useResult $Res call({ String id, String ad, String prompt, String isikLighting, String kameraHareketi, String atmosfer, }); } /// @nodoc class _$SahnePresetCopyWithImpl<$Res, $Val extends SahnePreset> implements $SahnePresetCopyWith<$Res> { _$SahnePresetCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of SahnePreset /// 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? isikLighting = null, Object? kameraHareketi = null, Object? atmosfer = null, }) { 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, isikLighting: null == isikLighting ? _value.isikLighting : isikLighting // ignore: cast_nullable_to_non_nullable as String, kameraHareketi: null == kameraHareketi ? _value.kameraHareketi : kameraHareketi // ignore: cast_nullable_to_non_nullable as String, atmosfer: null == atmosfer ? _value.atmosfer : atmosfer // ignore: cast_nullable_to_non_nullable as String, ) as $Val, ); } } /// @nodoc abstract class _$$SahnePresetImplCopyWith<$Res> implements $SahnePresetCopyWith<$Res> { factory _$$SahnePresetImplCopyWith( _$SahnePresetImpl value, $Res Function(_$SahnePresetImpl) then, ) = __$$SahnePresetImplCopyWithImpl<$Res>; @override @useResult $Res call({ String id, String ad, String prompt, String isikLighting, String kameraHareketi, String atmosfer, }); } /// @nodoc class __$$SahnePresetImplCopyWithImpl<$Res> extends _$SahnePresetCopyWithImpl<$Res, _$SahnePresetImpl> implements _$$SahnePresetImplCopyWith<$Res> { __$$SahnePresetImplCopyWithImpl( _$SahnePresetImpl _value, $Res Function(_$SahnePresetImpl) _then, ) : super(_value, _then); /// Create a copy of SahnePreset /// 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? isikLighting = null, Object? kameraHareketi = null, Object? atmosfer = null, }) { return _then( _$SahnePresetImpl( 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, isikLighting: null == isikLighting ? _value.isikLighting : isikLighting // ignore: cast_nullable_to_non_nullable as String, kameraHareketi: null == kameraHareketi ? _value.kameraHareketi : kameraHareketi // ignore: cast_nullable_to_non_nullable as String, atmosfer: null == atmosfer ? _value.atmosfer : atmosfer // ignore: cast_nullable_to_non_nullable as String, ), ); } } /// @nodoc @JsonSerializable() class _$SahnePresetImpl implements _SahnePreset { const _$SahnePresetImpl({ required this.id, required this.ad, this.prompt = '', this.isikLighting = '', this.kameraHareketi = '', this.atmosfer = '', }); factory _$SahnePresetImpl.fromJson(Map json) => _$$SahnePresetImplFromJson(json); @override final String id; @override final String ad; @override @JsonKey() final String prompt; @override @JsonKey() final String isikLighting; @override @JsonKey() final String kameraHareketi; @override @JsonKey() final String atmosfer; @override String toString() { return 'SahnePreset(id: $id, ad: $ad, prompt: $prompt, isikLighting: $isikLighting, kameraHareketi: $kameraHareketi, atmosfer: $atmosfer)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SahnePresetImpl && (identical(other.id, id) || other.id == id) && (identical(other.ad, ad) || other.ad == ad) && (identical(other.prompt, prompt) || other.prompt == prompt) && (identical(other.isikLighting, isikLighting) || other.isikLighting == isikLighting) && (identical(other.kameraHareketi, kameraHareketi) || other.kameraHareketi == kameraHareketi) && (identical(other.atmosfer, atmosfer) || other.atmosfer == atmosfer)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, id, ad, prompt, isikLighting, kameraHareketi, atmosfer, ); /// Create a copy of SahnePreset /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$SahnePresetImplCopyWith<_$SahnePresetImpl> get copyWith => __$$SahnePresetImplCopyWithImpl<_$SahnePresetImpl>(this, _$identity); @override Map toJson() { return _$$SahnePresetImplToJson(this); } } abstract class _SahnePreset implements SahnePreset { const factory _SahnePreset({ required final String id, required final String ad, final String prompt, final String isikLighting, final String kameraHareketi, final String atmosfer, }) = _$SahnePresetImpl; factory _SahnePreset.fromJson(Map json) = _$SahnePresetImpl.fromJson; @override String get id; @override String get ad; @override String get prompt; @override String get isikLighting; @override String get kameraHareketi; @override String get atmosfer; /// Create a copy of SahnePreset /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$SahnePresetImplCopyWith<_$SahnePresetImpl> get copyWith => throw _privateConstructorUsedError; }