// 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 'global_ayarlar.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'); GlobalAyarlar _$GlobalAyarlarFromJson(Map json) { return _GlobalAyarlar.fromJson(json); } /// @nodoc mixin _$GlobalAyarlar { String get varsayilanPrompt => throw _privateConstructorUsedError; String get varsayilanNegatifPrompt => throw _privateConstructorUsedError; String get model => throw _privateConstructorUsedError; String get cozunurluk => throw _privateConstructorUsedError; String get oran => throw _privateConstructorUsedError; int get segmentSuresi => throw _privateConstructorUsedError; double get guidanceScale => throw _privateConstructorUsedError; int get steps => throw _privateConstructorUsedError; String get kameraHareketi => throw _privateConstructorUsedError; bool get ses => throw _privateConstructorUsedError; bool get infiniteTalk => throw _privateConstructorUsedError; bool get faceSwapAcik => throw _privateConstructorUsedError; String? get faceSwapKaynakPath => throw _privateConstructorUsedError; List get faceSwapKaynakYollari => throw _privateConstructorUsedError; bool get autoPrompt => throw _privateConstructorUsedError; /// WanGP standalone tüm-segment varsayılanı. /// Segment kendi `wangpAyarlari`'yla override edebilir. WanGpAyarlari? get wangpVarsayilan => throw _privateConstructorUsedError; /// Serializes this GlobalAyarlar to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of GlobalAyarlar /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $GlobalAyarlarCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $GlobalAyarlarCopyWith<$Res> { factory $GlobalAyarlarCopyWith( GlobalAyarlar value, $Res Function(GlobalAyarlar) then) = _$GlobalAyarlarCopyWithImpl<$Res, GlobalAyarlar>; @useResult $Res call( {String varsayilanPrompt, String varsayilanNegatifPrompt, String model, String cozunurluk, String oran, int segmentSuresi, double guidanceScale, int steps, String kameraHareketi, bool ses, bool infiniteTalk, bool faceSwapAcik, String? faceSwapKaynakPath, List faceSwapKaynakYollari, bool autoPrompt, WanGpAyarlari? wangpVarsayilan}); $WanGpAyarlariCopyWith<$Res>? get wangpVarsayilan; } /// @nodoc class _$GlobalAyarlarCopyWithImpl<$Res, $Val extends GlobalAyarlar> implements $GlobalAyarlarCopyWith<$Res> { _$GlobalAyarlarCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of GlobalAyarlar /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? varsayilanPrompt = null, Object? varsayilanNegatifPrompt = null, Object? model = null, Object? cozunurluk = null, Object? oran = null, Object? segmentSuresi = null, Object? guidanceScale = null, Object? steps = null, Object? kameraHareketi = null, Object? ses = null, Object? infiniteTalk = null, Object? faceSwapAcik = null, Object? faceSwapKaynakPath = freezed, Object? faceSwapKaynakYollari = null, Object? autoPrompt = null, Object? wangpVarsayilan = freezed, }) { return _then(_value.copyWith( varsayilanPrompt: null == varsayilanPrompt ? _value.varsayilanPrompt : varsayilanPrompt // ignore: cast_nullable_to_non_nullable as String, varsayilanNegatifPrompt: null == varsayilanNegatifPrompt ? _value.varsayilanNegatifPrompt : varsayilanNegatifPrompt // ignore: cast_nullable_to_non_nullable as String, model: null == model ? _value.model : model // ignore: cast_nullable_to_non_nullable as String, cozunurluk: null == cozunurluk ? _value.cozunurluk : cozunurluk // ignore: cast_nullable_to_non_nullable as String, oran: null == oran ? _value.oran : oran // ignore: cast_nullable_to_non_nullable as String, segmentSuresi: null == segmentSuresi ? _value.segmentSuresi : segmentSuresi // ignore: cast_nullable_to_non_nullable as int, guidanceScale: null == guidanceScale ? _value.guidanceScale : guidanceScale // ignore: cast_nullable_to_non_nullable as double, steps: null == steps ? _value.steps : steps // ignore: cast_nullable_to_non_nullable as int, kameraHareketi: null == kameraHareketi ? _value.kameraHareketi : kameraHareketi // ignore: cast_nullable_to_non_nullable as String, ses: null == ses ? _value.ses : ses // ignore: cast_nullable_to_non_nullable as bool, infiniteTalk: null == infiniteTalk ? _value.infiniteTalk : infiniteTalk // ignore: cast_nullable_to_non_nullable as bool, faceSwapAcik: null == faceSwapAcik ? _value.faceSwapAcik : faceSwapAcik // ignore: cast_nullable_to_non_nullable as bool, faceSwapKaynakPath: freezed == faceSwapKaynakPath ? _value.faceSwapKaynakPath : faceSwapKaynakPath // ignore: cast_nullable_to_non_nullable as String?, faceSwapKaynakYollari: null == faceSwapKaynakYollari ? _value.faceSwapKaynakYollari : faceSwapKaynakYollari // ignore: cast_nullable_to_non_nullable as List, autoPrompt: null == autoPrompt ? _value.autoPrompt : autoPrompt // ignore: cast_nullable_to_non_nullable as bool, wangpVarsayilan: freezed == wangpVarsayilan ? _value.wangpVarsayilan : wangpVarsayilan // ignore: cast_nullable_to_non_nullable as WanGpAyarlari?, ) as $Val); } /// Create a copy of GlobalAyarlar /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $WanGpAyarlariCopyWith<$Res>? get wangpVarsayilan { if (_value.wangpVarsayilan == null) { return null; } return $WanGpAyarlariCopyWith<$Res>(_value.wangpVarsayilan!, (value) { return _then(_value.copyWith(wangpVarsayilan: value) as $Val); }); } } /// @nodoc abstract class _$$GlobalAyarlarImplCopyWith<$Res> implements $GlobalAyarlarCopyWith<$Res> { factory _$$GlobalAyarlarImplCopyWith( _$GlobalAyarlarImpl value, $Res Function(_$GlobalAyarlarImpl) then) = __$$GlobalAyarlarImplCopyWithImpl<$Res>; @override @useResult $Res call( {String varsayilanPrompt, String varsayilanNegatifPrompt, String model, String cozunurluk, String oran, int segmentSuresi, double guidanceScale, int steps, String kameraHareketi, bool ses, bool infiniteTalk, bool faceSwapAcik, String? faceSwapKaynakPath, List faceSwapKaynakYollari, bool autoPrompt, WanGpAyarlari? wangpVarsayilan}); @override $WanGpAyarlariCopyWith<$Res>? get wangpVarsayilan; } /// @nodoc class __$$GlobalAyarlarImplCopyWithImpl<$Res> extends _$GlobalAyarlarCopyWithImpl<$Res, _$GlobalAyarlarImpl> implements _$$GlobalAyarlarImplCopyWith<$Res> { __$$GlobalAyarlarImplCopyWithImpl( _$GlobalAyarlarImpl _value, $Res Function(_$GlobalAyarlarImpl) _then) : super(_value, _then); /// Create a copy of GlobalAyarlar /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? varsayilanPrompt = null, Object? varsayilanNegatifPrompt = null, Object? model = null, Object? cozunurluk = null, Object? oran = null, Object? segmentSuresi = null, Object? guidanceScale = null, Object? steps = null, Object? kameraHareketi = null, Object? ses = null, Object? infiniteTalk = null, Object? faceSwapAcik = null, Object? faceSwapKaynakPath = freezed, Object? faceSwapKaynakYollari = null, Object? autoPrompt = null, Object? wangpVarsayilan = freezed, }) { return _then(_$GlobalAyarlarImpl( varsayilanPrompt: null == varsayilanPrompt ? _value.varsayilanPrompt : varsayilanPrompt // ignore: cast_nullable_to_non_nullable as String, varsayilanNegatifPrompt: null == varsayilanNegatifPrompt ? _value.varsayilanNegatifPrompt : varsayilanNegatifPrompt // ignore: cast_nullable_to_non_nullable as String, model: null == model ? _value.model : model // ignore: cast_nullable_to_non_nullable as String, cozunurluk: null == cozunurluk ? _value.cozunurluk : cozunurluk // ignore: cast_nullable_to_non_nullable as String, oran: null == oran ? _value.oran : oran // ignore: cast_nullable_to_non_nullable as String, segmentSuresi: null == segmentSuresi ? _value.segmentSuresi : segmentSuresi // ignore: cast_nullable_to_non_nullable as int, guidanceScale: null == guidanceScale ? _value.guidanceScale : guidanceScale // ignore: cast_nullable_to_non_nullable as double, steps: null == steps ? _value.steps : steps // ignore: cast_nullable_to_non_nullable as int, kameraHareketi: null == kameraHareketi ? _value.kameraHareketi : kameraHareketi // ignore: cast_nullable_to_non_nullable as String, ses: null == ses ? _value.ses : ses // ignore: cast_nullable_to_non_nullable as bool, infiniteTalk: null == infiniteTalk ? _value.infiniteTalk : infiniteTalk // ignore: cast_nullable_to_non_nullable as bool, faceSwapAcik: null == faceSwapAcik ? _value.faceSwapAcik : faceSwapAcik // ignore: cast_nullable_to_non_nullable as bool, faceSwapKaynakPath: freezed == faceSwapKaynakPath ? _value.faceSwapKaynakPath : faceSwapKaynakPath // ignore: cast_nullable_to_non_nullable as String?, faceSwapKaynakYollari: null == faceSwapKaynakYollari ? _value._faceSwapKaynakYollari : faceSwapKaynakYollari // ignore: cast_nullable_to_non_nullable as List, autoPrompt: null == autoPrompt ? _value.autoPrompt : autoPrompt // ignore: cast_nullable_to_non_nullable as bool, wangpVarsayilan: freezed == wangpVarsayilan ? _value.wangpVarsayilan : wangpVarsayilan // ignore: cast_nullable_to_non_nullable as WanGpAyarlari?, )); } } /// @nodoc @JsonSerializable() class _$GlobalAyarlarImpl implements _GlobalAyarlar { const _$GlobalAyarlarImpl( {this.varsayilanPrompt = 'cinematic slow motion, beautiful scenery, atmospheric lighting, high quality 4k', this.varsayilanNegatifPrompt = 'blurry, low quality, distorted face, extra fingers, multiple people, bright daylight, cartoon, animated', this.model = 'fast', this.cozunurluk = '540p', this.oran = '16:9', this.segmentSuresi = 20, this.guidanceScale = 3.5, this.steps = 30, this.kameraHareketi = 'none', this.ses = true, this.infiniteTalk = false, this.faceSwapAcik = false, this.faceSwapKaynakPath, final List faceSwapKaynakYollari = const [], this.autoPrompt = true, this.wangpVarsayilan}) : _faceSwapKaynakYollari = faceSwapKaynakYollari; factory _$GlobalAyarlarImpl.fromJson(Map json) => _$$GlobalAyarlarImplFromJson(json); @override @JsonKey() final String varsayilanPrompt; @override @JsonKey() final String varsayilanNegatifPrompt; @override @JsonKey() final String model; @override @JsonKey() final String cozunurluk; @override @JsonKey() final String oran; @override @JsonKey() final int segmentSuresi; @override @JsonKey() final double guidanceScale; @override @JsonKey() final int steps; @override @JsonKey() final String kameraHareketi; @override @JsonKey() final bool ses; @override @JsonKey() final bool infiniteTalk; @override @JsonKey() final bool faceSwapAcik; @override final String? faceSwapKaynakPath; final List _faceSwapKaynakYollari; @override @JsonKey() List get faceSwapKaynakYollari { if (_faceSwapKaynakYollari is EqualUnmodifiableListView) return _faceSwapKaynakYollari; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_faceSwapKaynakYollari); } @override @JsonKey() final bool autoPrompt; /// WanGP standalone tüm-segment varsayılanı. /// Segment kendi `wangpAyarlari`'yla override edebilir. @override final WanGpAyarlari? wangpVarsayilan; @override String toString() { return 'GlobalAyarlar(varsayilanPrompt: $varsayilanPrompt, varsayilanNegatifPrompt: $varsayilanNegatifPrompt, model: $model, cozunurluk: $cozunurluk, oran: $oran, segmentSuresi: $segmentSuresi, guidanceScale: $guidanceScale, steps: $steps, kameraHareketi: $kameraHareketi, ses: $ses, infiniteTalk: $infiniteTalk, faceSwapAcik: $faceSwapAcik, faceSwapKaynakPath: $faceSwapKaynakPath, faceSwapKaynakYollari: $faceSwapKaynakYollari, autoPrompt: $autoPrompt, wangpVarsayilan: $wangpVarsayilan)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$GlobalAyarlarImpl && (identical(other.varsayilanPrompt, varsayilanPrompt) || other.varsayilanPrompt == varsayilanPrompt) && (identical( other.varsayilanNegatifPrompt, varsayilanNegatifPrompt) || other.varsayilanNegatifPrompt == varsayilanNegatifPrompt) && (identical(other.model, model) || other.model == model) && (identical(other.cozunurluk, cozunurluk) || other.cozunurluk == cozunurluk) && (identical(other.oran, oran) || other.oran == oran) && (identical(other.segmentSuresi, segmentSuresi) || other.segmentSuresi == segmentSuresi) && (identical(other.guidanceScale, guidanceScale) || other.guidanceScale == guidanceScale) && (identical(other.steps, steps) || other.steps == steps) && (identical(other.kameraHareketi, kameraHareketi) || other.kameraHareketi == kameraHareketi) && (identical(other.ses, ses) || other.ses == ses) && (identical(other.infiniteTalk, infiniteTalk) || other.infiniteTalk == infiniteTalk) && (identical(other.faceSwapAcik, faceSwapAcik) || other.faceSwapAcik == faceSwapAcik) && (identical(other.faceSwapKaynakPath, faceSwapKaynakPath) || other.faceSwapKaynakPath == faceSwapKaynakPath) && const DeepCollectionEquality() .equals(other._faceSwapKaynakYollari, _faceSwapKaynakYollari) && (identical(other.autoPrompt, autoPrompt) || other.autoPrompt == autoPrompt) && (identical(other.wangpVarsayilan, wangpVarsayilan) || other.wangpVarsayilan == wangpVarsayilan)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, varsayilanPrompt, varsayilanNegatifPrompt, model, cozunurluk, oran, segmentSuresi, guidanceScale, steps, kameraHareketi, ses, infiniteTalk, faceSwapAcik, faceSwapKaynakPath, const DeepCollectionEquality().hash(_faceSwapKaynakYollari), autoPrompt, wangpVarsayilan); /// Create a copy of GlobalAyarlar /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$GlobalAyarlarImplCopyWith<_$GlobalAyarlarImpl> get copyWith => __$$GlobalAyarlarImplCopyWithImpl<_$GlobalAyarlarImpl>(this, _$identity); @override Map toJson() { return _$$GlobalAyarlarImplToJson( this, ); } } abstract class _GlobalAyarlar implements GlobalAyarlar { const factory _GlobalAyarlar( {final String varsayilanPrompt, final String varsayilanNegatifPrompt, final String model, final String cozunurluk, final String oran, final int segmentSuresi, final double guidanceScale, final int steps, final String kameraHareketi, final bool ses, final bool infiniteTalk, final bool faceSwapAcik, final String? faceSwapKaynakPath, final List faceSwapKaynakYollari, final bool autoPrompt, final WanGpAyarlari? wangpVarsayilan}) = _$GlobalAyarlarImpl; factory _GlobalAyarlar.fromJson(Map json) = _$GlobalAyarlarImpl.fromJson; @override String get varsayilanPrompt; @override String get varsayilanNegatifPrompt; @override String get model; @override String get cozunurluk; @override String get oran; @override int get segmentSuresi; @override double get guidanceScale; @override int get steps; @override String get kameraHareketi; @override bool get ses; @override bool get infiniteTalk; @override bool get faceSwapAcik; @override String? get faceSwapKaynakPath; @override List get faceSwapKaynakYollari; @override bool get autoPrompt; /// WanGP standalone tüm-segment varsayılanı. /// Segment kendi `wangpAyarlari`'yla override edebilir. @override WanGpAyarlari? get wangpVarsayilan; /// Create a copy of GlobalAyarlar /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$GlobalAyarlarImplCopyWith<_$GlobalAyarlarImpl> get copyWith => throw _privateConstructorUsedError; }