// 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.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', ); Sahne _$SahneFromJson(Map json) { return _Sahne.fromJson(json); } /// @nodoc mixin _$Sahne { String get id => throw _privateConstructorUsedError; int get sira => throw _privateConstructorUsedError; SahneTipi get tipi => throw _privateConstructorUsedError; String get prompt => throw _privateConstructorUsedError; String get negativePrompt => throw _privateConstructorUsedError; /// Süre kuralı: WanGP modeline göre 5/6/8/10/20 sn'den biri. int get sureSn => throw _privateConstructorUsedError; // ─── Girdi ─────────────────────────────────────────────────────────── String? get girisGorselYolu => throw _privateConstructorUsedError; String? get sesParcaYolu => throw _privateConstructorUsedError; double? get sesBaslangic => throw _privateConstructorUsedError; double? get sesBitis => throw _privateConstructorUsedError; // ─── Override ──────────────────────────────────────────────────────── UretimAyari? get ayarOverride => throw _privateConstructorUsedError; KarakterKilidi? get kilitOverride => throw _privateConstructorUsedError; // ─── Çıktı ─────────────────────────────────────────────────────────── String? get sonKareYolu => throw _privateConstructorUsedError; // Laplacian best-frame String? get videoYolu => throw _privateConstructorUsedError; List get varyantYollari => throw _privateConstructorUsedError; EnerjiSeviyesi? get enerji => throw _privateConstructorUsedError; SahneDurum get durum => throw _privateConstructorUsedError; double get ilerleme => throw _privateConstructorUsedError; // 0..1 // ─── Aktif post-processing rozetleri ──────────────────────────────── bool get faceSwapAktif => throw _privateConstructorUsedError; bool get faceRestoreAktif => throw _privateConstructorUsedError; bool get lipsyncAktif => throw _privateConstructorUsedError; bool get vokalAyirmaAktif => throw _privateConstructorUsedError; String? get notlar => throw _privateConstructorUsedError; List get hatalar => throw _privateConstructorUsedError; DateTime get olusturma => throw _privateConstructorUsedError; DateTime get guncelleme => throw _privateConstructorUsedError; /// Serializes this Sahne to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of Sahne /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $SahneCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $SahneCopyWith<$Res> { factory $SahneCopyWith(Sahne value, $Res Function(Sahne) then) = _$SahneCopyWithImpl<$Res, Sahne>; @useResult $Res call({ String id, int sira, SahneTipi tipi, String prompt, String negativePrompt, int sureSn, String? girisGorselYolu, String? sesParcaYolu, double? sesBaslangic, double? sesBitis, UretimAyari? ayarOverride, KarakterKilidi? kilitOverride, String? sonKareYolu, String? videoYolu, List varyantYollari, EnerjiSeviyesi? enerji, SahneDurum durum, double ilerleme, bool faceSwapAktif, bool faceRestoreAktif, bool lipsyncAktif, bool vokalAyirmaAktif, String? notlar, List hatalar, DateTime olusturma, DateTime guncelleme, }); $UretimAyariCopyWith<$Res>? get ayarOverride; $KarakterKilidiCopyWith<$Res>? get kilitOverride; } /// @nodoc class _$SahneCopyWithImpl<$Res, $Val extends Sahne> implements $SahneCopyWith<$Res> { _$SahneCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of Sahne /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? sira = null, Object? tipi = null, Object? prompt = null, Object? negativePrompt = null, Object? sureSn = null, Object? girisGorselYolu = freezed, Object? sesParcaYolu = freezed, Object? sesBaslangic = freezed, Object? sesBitis = freezed, Object? ayarOverride = freezed, Object? kilitOverride = freezed, Object? sonKareYolu = freezed, Object? videoYolu = freezed, Object? varyantYollari = null, Object? enerji = freezed, Object? durum = null, Object? ilerleme = null, Object? faceSwapAktif = null, Object? faceRestoreAktif = null, Object? lipsyncAktif = null, Object? vokalAyirmaAktif = null, Object? notlar = freezed, Object? hatalar = null, Object? olusturma = null, Object? guncelleme = null, }) { return _then( _value.copyWith( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, sira: null == sira ? _value.sira : sira // ignore: cast_nullable_to_non_nullable as int, tipi: null == tipi ? _value.tipi : tipi // ignore: cast_nullable_to_non_nullable as SahneTipi, prompt: null == prompt ? _value.prompt : prompt // ignore: cast_nullable_to_non_nullable as String, negativePrompt: null == negativePrompt ? _value.negativePrompt : negativePrompt // ignore: cast_nullable_to_non_nullable as String, sureSn: null == sureSn ? _value.sureSn : sureSn // ignore: cast_nullable_to_non_nullable as int, girisGorselYolu: freezed == girisGorselYolu ? _value.girisGorselYolu : girisGorselYolu // ignore: cast_nullable_to_non_nullable as String?, sesParcaYolu: freezed == sesParcaYolu ? _value.sesParcaYolu : sesParcaYolu // ignore: cast_nullable_to_non_nullable as String?, sesBaslangic: freezed == sesBaslangic ? _value.sesBaslangic : sesBaslangic // ignore: cast_nullable_to_non_nullable as double?, sesBitis: freezed == sesBitis ? _value.sesBitis : sesBitis // ignore: cast_nullable_to_non_nullable as double?, ayarOverride: freezed == ayarOverride ? _value.ayarOverride : ayarOverride // ignore: cast_nullable_to_non_nullable as UretimAyari?, kilitOverride: freezed == kilitOverride ? _value.kilitOverride : kilitOverride // ignore: cast_nullable_to_non_nullable as KarakterKilidi?, sonKareYolu: freezed == sonKareYolu ? _value.sonKareYolu : sonKareYolu // ignore: cast_nullable_to_non_nullable as String?, videoYolu: freezed == videoYolu ? _value.videoYolu : videoYolu // ignore: cast_nullable_to_non_nullable as String?, varyantYollari: null == varyantYollari ? _value.varyantYollari : varyantYollari // ignore: cast_nullable_to_non_nullable as List, enerji: freezed == enerji ? _value.enerji : enerji // ignore: cast_nullable_to_non_nullable as EnerjiSeviyesi?, durum: null == durum ? _value.durum : durum // ignore: cast_nullable_to_non_nullable as SahneDurum, ilerleme: null == ilerleme ? _value.ilerleme : ilerleme // ignore: cast_nullable_to_non_nullable as double, faceSwapAktif: null == faceSwapAktif ? _value.faceSwapAktif : faceSwapAktif // ignore: cast_nullable_to_non_nullable as bool, faceRestoreAktif: null == faceRestoreAktif ? _value.faceRestoreAktif : faceRestoreAktif // ignore: cast_nullable_to_non_nullable as bool, lipsyncAktif: null == lipsyncAktif ? _value.lipsyncAktif : lipsyncAktif // ignore: cast_nullable_to_non_nullable as bool, vokalAyirmaAktif: null == vokalAyirmaAktif ? _value.vokalAyirmaAktif : vokalAyirmaAktif // ignore: cast_nullable_to_non_nullable as bool, notlar: freezed == notlar ? _value.notlar : notlar // ignore: cast_nullable_to_non_nullable as String?, hatalar: null == hatalar ? _value.hatalar : hatalar // ignore: cast_nullable_to_non_nullable as List, olusturma: null == olusturma ? _value.olusturma : olusturma // ignore: cast_nullable_to_non_nullable as DateTime, guncelleme: null == guncelleme ? _value.guncelleme : guncelleme // ignore: cast_nullable_to_non_nullable as DateTime, ) as $Val, ); } /// Create a copy of Sahne /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $UretimAyariCopyWith<$Res>? get ayarOverride { if (_value.ayarOverride == null) { return null; } return $UretimAyariCopyWith<$Res>(_value.ayarOverride!, (value) { return _then(_value.copyWith(ayarOverride: value) as $Val); }); } /// Create a copy of Sahne /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $KarakterKilidiCopyWith<$Res>? get kilitOverride { if (_value.kilitOverride == null) { return null; } return $KarakterKilidiCopyWith<$Res>(_value.kilitOverride!, (value) { return _then(_value.copyWith(kilitOverride: value) as $Val); }); } } /// @nodoc abstract class _$$SahneImplCopyWith<$Res> implements $SahneCopyWith<$Res> { factory _$$SahneImplCopyWith( _$SahneImpl value, $Res Function(_$SahneImpl) then, ) = __$$SahneImplCopyWithImpl<$Res>; @override @useResult $Res call({ String id, int sira, SahneTipi tipi, String prompt, String negativePrompt, int sureSn, String? girisGorselYolu, String? sesParcaYolu, double? sesBaslangic, double? sesBitis, UretimAyari? ayarOverride, KarakterKilidi? kilitOverride, String? sonKareYolu, String? videoYolu, List varyantYollari, EnerjiSeviyesi? enerji, SahneDurum durum, double ilerleme, bool faceSwapAktif, bool faceRestoreAktif, bool lipsyncAktif, bool vokalAyirmaAktif, String? notlar, List hatalar, DateTime olusturma, DateTime guncelleme, }); @override $UretimAyariCopyWith<$Res>? get ayarOverride; @override $KarakterKilidiCopyWith<$Res>? get kilitOverride; } /// @nodoc class __$$SahneImplCopyWithImpl<$Res> extends _$SahneCopyWithImpl<$Res, _$SahneImpl> implements _$$SahneImplCopyWith<$Res> { __$$SahneImplCopyWithImpl( _$SahneImpl _value, $Res Function(_$SahneImpl) _then, ) : super(_value, _then); /// Create a copy of Sahne /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? sira = null, Object? tipi = null, Object? prompt = null, Object? negativePrompt = null, Object? sureSn = null, Object? girisGorselYolu = freezed, Object? sesParcaYolu = freezed, Object? sesBaslangic = freezed, Object? sesBitis = freezed, Object? ayarOverride = freezed, Object? kilitOverride = freezed, Object? sonKareYolu = freezed, Object? videoYolu = freezed, Object? varyantYollari = null, Object? enerji = freezed, Object? durum = null, Object? ilerleme = null, Object? faceSwapAktif = null, Object? faceRestoreAktif = null, Object? lipsyncAktif = null, Object? vokalAyirmaAktif = null, Object? notlar = freezed, Object? hatalar = null, Object? olusturma = null, Object? guncelleme = null, }) { return _then( _$SahneImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, sira: null == sira ? _value.sira : sira // ignore: cast_nullable_to_non_nullable as int, tipi: null == tipi ? _value.tipi : tipi // ignore: cast_nullable_to_non_nullable as SahneTipi, prompt: null == prompt ? _value.prompt : prompt // ignore: cast_nullable_to_non_nullable as String, negativePrompt: null == negativePrompt ? _value.negativePrompt : negativePrompt // ignore: cast_nullable_to_non_nullable as String, sureSn: null == sureSn ? _value.sureSn : sureSn // ignore: cast_nullable_to_non_nullable as int, girisGorselYolu: freezed == girisGorselYolu ? _value.girisGorselYolu : girisGorselYolu // ignore: cast_nullable_to_non_nullable as String?, sesParcaYolu: freezed == sesParcaYolu ? _value.sesParcaYolu : sesParcaYolu // ignore: cast_nullable_to_non_nullable as String?, sesBaslangic: freezed == sesBaslangic ? _value.sesBaslangic : sesBaslangic // ignore: cast_nullable_to_non_nullable as double?, sesBitis: freezed == sesBitis ? _value.sesBitis : sesBitis // ignore: cast_nullable_to_non_nullable as double?, ayarOverride: freezed == ayarOverride ? _value.ayarOverride : ayarOverride // ignore: cast_nullable_to_non_nullable as UretimAyari?, kilitOverride: freezed == kilitOverride ? _value.kilitOverride : kilitOverride // ignore: cast_nullable_to_non_nullable as KarakterKilidi?, sonKareYolu: freezed == sonKareYolu ? _value.sonKareYolu : sonKareYolu // ignore: cast_nullable_to_non_nullable as String?, videoYolu: freezed == videoYolu ? _value.videoYolu : videoYolu // ignore: cast_nullable_to_non_nullable as String?, varyantYollari: null == varyantYollari ? _value._varyantYollari : varyantYollari // ignore: cast_nullable_to_non_nullable as List, enerji: freezed == enerji ? _value.enerji : enerji // ignore: cast_nullable_to_non_nullable as EnerjiSeviyesi?, durum: null == durum ? _value.durum : durum // ignore: cast_nullable_to_non_nullable as SahneDurum, ilerleme: null == ilerleme ? _value.ilerleme : ilerleme // ignore: cast_nullable_to_non_nullable as double, faceSwapAktif: null == faceSwapAktif ? _value.faceSwapAktif : faceSwapAktif // ignore: cast_nullable_to_non_nullable as bool, faceRestoreAktif: null == faceRestoreAktif ? _value.faceRestoreAktif : faceRestoreAktif // ignore: cast_nullable_to_non_nullable as bool, lipsyncAktif: null == lipsyncAktif ? _value.lipsyncAktif : lipsyncAktif // ignore: cast_nullable_to_non_nullable as bool, vokalAyirmaAktif: null == vokalAyirmaAktif ? _value.vokalAyirmaAktif : vokalAyirmaAktif // ignore: cast_nullable_to_non_nullable as bool, notlar: freezed == notlar ? _value.notlar : notlar // ignore: cast_nullable_to_non_nullable as String?, hatalar: null == hatalar ? _value._hatalar : hatalar // ignore: cast_nullable_to_non_nullable as List, olusturma: null == olusturma ? _value.olusturma : olusturma // ignore: cast_nullable_to_non_nullable as DateTime, guncelleme: null == guncelleme ? _value.guncelleme : guncelleme // ignore: cast_nullable_to_non_nullable as DateTime, ), ); } } /// @nodoc @JsonSerializable() class _$SahneImpl implements _Sahne { const _$SahneImpl({ required this.id, this.sira = 0, this.tipi = SahneTipi.video, this.prompt = '', this.negativePrompt = '', this.sureSn = 5, this.girisGorselYolu, this.sesParcaYolu, this.sesBaslangic, this.sesBitis, this.ayarOverride, this.kilitOverride, this.sonKareYolu, this.videoYolu, final List varyantYollari = const [], this.enerji, this.durum = SahneDurum.bos, this.ilerleme = 0.0, this.faceSwapAktif = false, this.faceRestoreAktif = false, this.lipsyncAktif = false, this.vokalAyirmaAktif = false, this.notlar, final List hatalar = const [], required this.olusturma, required this.guncelleme, }) : _varyantYollari = varyantYollari, _hatalar = hatalar; factory _$SahneImpl.fromJson(Map json) => _$$SahneImplFromJson(json); @override final String id; @override @JsonKey() final int sira; @override @JsonKey() final SahneTipi tipi; @override @JsonKey() final String prompt; @override @JsonKey() final String negativePrompt; /// Süre kuralı: WanGP modeline göre 5/6/8/10/20 sn'den biri. @override @JsonKey() final int sureSn; // ─── Girdi ─────────────────────────────────────────────────────────── @override final String? girisGorselYolu; @override final String? sesParcaYolu; @override final double? sesBaslangic; @override final double? sesBitis; // ─── Override ──────────────────────────────────────────────────────── @override final UretimAyari? ayarOverride; @override final KarakterKilidi? kilitOverride; // ─── Çıktı ─────────────────────────────────────────────────────────── @override final String? sonKareYolu; // Laplacian best-frame @override final String? videoYolu; final List _varyantYollari; @override @JsonKey() List get varyantYollari { if (_varyantYollari is EqualUnmodifiableListView) return _varyantYollari; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_varyantYollari); } @override final EnerjiSeviyesi? enerji; @override @JsonKey() final SahneDurum durum; @override @JsonKey() final double ilerleme; // 0..1 // ─── Aktif post-processing rozetleri ──────────────────────────────── @override @JsonKey() final bool faceSwapAktif; @override @JsonKey() final bool faceRestoreAktif; @override @JsonKey() final bool lipsyncAktif; @override @JsonKey() final bool vokalAyirmaAktif; @override final String? notlar; final List _hatalar; @override @JsonKey() List get hatalar { if (_hatalar is EqualUnmodifiableListView) return _hatalar; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_hatalar); } @override final DateTime olusturma; @override final DateTime guncelleme; @override String toString() { return 'Sahne(id: $id, sira: $sira, tipi: $tipi, prompt: $prompt, negativePrompt: $negativePrompt, sureSn: $sureSn, girisGorselYolu: $girisGorselYolu, sesParcaYolu: $sesParcaYolu, sesBaslangic: $sesBaslangic, sesBitis: $sesBitis, ayarOverride: $ayarOverride, kilitOverride: $kilitOverride, sonKareYolu: $sonKareYolu, videoYolu: $videoYolu, varyantYollari: $varyantYollari, enerji: $enerji, durum: $durum, ilerleme: $ilerleme, faceSwapAktif: $faceSwapAktif, faceRestoreAktif: $faceRestoreAktif, lipsyncAktif: $lipsyncAktif, vokalAyirmaAktif: $vokalAyirmaAktif, notlar: $notlar, hatalar: $hatalar, olusturma: $olusturma, guncelleme: $guncelleme)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SahneImpl && (identical(other.id, id) || other.id == id) && (identical(other.sira, sira) || other.sira == sira) && (identical(other.tipi, tipi) || other.tipi == tipi) && (identical(other.prompt, prompt) || other.prompt == prompt) && (identical(other.negativePrompt, negativePrompt) || other.negativePrompt == negativePrompt) && (identical(other.sureSn, sureSn) || other.sureSn == sureSn) && (identical(other.girisGorselYolu, girisGorselYolu) || other.girisGorselYolu == girisGorselYolu) && (identical(other.sesParcaYolu, sesParcaYolu) || other.sesParcaYolu == sesParcaYolu) && (identical(other.sesBaslangic, sesBaslangic) || other.sesBaslangic == sesBaslangic) && (identical(other.sesBitis, sesBitis) || other.sesBitis == sesBitis) && (identical(other.ayarOverride, ayarOverride) || other.ayarOverride == ayarOverride) && (identical(other.kilitOverride, kilitOverride) || other.kilitOverride == kilitOverride) && (identical(other.sonKareYolu, sonKareYolu) || other.sonKareYolu == sonKareYolu) && (identical(other.videoYolu, videoYolu) || other.videoYolu == videoYolu) && const DeepCollectionEquality().equals( other._varyantYollari, _varyantYollari, ) && (identical(other.enerji, enerji) || other.enerji == enerji) && (identical(other.durum, durum) || other.durum == durum) && (identical(other.ilerleme, ilerleme) || other.ilerleme == ilerleme) && (identical(other.faceSwapAktif, faceSwapAktif) || other.faceSwapAktif == faceSwapAktif) && (identical(other.faceRestoreAktif, faceRestoreAktif) || other.faceRestoreAktif == faceRestoreAktif) && (identical(other.lipsyncAktif, lipsyncAktif) || other.lipsyncAktif == lipsyncAktif) && (identical(other.vokalAyirmaAktif, vokalAyirmaAktif) || other.vokalAyirmaAktif == vokalAyirmaAktif) && (identical(other.notlar, notlar) || other.notlar == notlar) && const DeepCollectionEquality().equals(other._hatalar, _hatalar) && (identical(other.olusturma, olusturma) || other.olusturma == olusturma) && (identical(other.guncelleme, guncelleme) || other.guncelleme == guncelleme)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hashAll([ runtimeType, id, sira, tipi, prompt, negativePrompt, sureSn, girisGorselYolu, sesParcaYolu, sesBaslangic, sesBitis, ayarOverride, kilitOverride, sonKareYolu, videoYolu, const DeepCollectionEquality().hash(_varyantYollari), enerji, durum, ilerleme, faceSwapAktif, faceRestoreAktif, lipsyncAktif, vokalAyirmaAktif, notlar, const DeepCollectionEquality().hash(_hatalar), olusturma, guncelleme, ]); /// Create a copy of Sahne /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$SahneImplCopyWith<_$SahneImpl> get copyWith => __$$SahneImplCopyWithImpl<_$SahneImpl>(this, _$identity); @override Map toJson() { return _$$SahneImplToJson(this); } } abstract class _Sahne implements Sahne { const factory _Sahne({ required final String id, final int sira, final SahneTipi tipi, final String prompt, final String negativePrompt, final int sureSn, final String? girisGorselYolu, final String? sesParcaYolu, final double? sesBaslangic, final double? sesBitis, final UretimAyari? ayarOverride, final KarakterKilidi? kilitOverride, final String? sonKareYolu, final String? videoYolu, final List varyantYollari, final EnerjiSeviyesi? enerji, final SahneDurum durum, final double ilerleme, final bool faceSwapAktif, final bool faceRestoreAktif, final bool lipsyncAktif, final bool vokalAyirmaAktif, final String? notlar, final List hatalar, required final DateTime olusturma, required final DateTime guncelleme, }) = _$SahneImpl; factory _Sahne.fromJson(Map json) = _$SahneImpl.fromJson; @override String get id; @override int get sira; @override SahneTipi get tipi; @override String get prompt; @override String get negativePrompt; /// Süre kuralı: WanGP modeline göre 5/6/8/10/20 sn'den biri. @override int get sureSn; // ─── Girdi ─────────────────────────────────────────────────────────── @override String? get girisGorselYolu; @override String? get sesParcaYolu; @override double? get sesBaslangic; @override double? get sesBitis; // ─── Override ──────────────────────────────────────────────────────── @override UretimAyari? get ayarOverride; @override KarakterKilidi? get kilitOverride; // ─── Çıktı ─────────────────────────────────────────────────────────── @override String? get sonKareYolu; // Laplacian best-frame @override String? get videoYolu; @override List get varyantYollari; @override EnerjiSeviyesi? get enerji; @override SahneDurum get durum; @override double get ilerleme; // 0..1 // ─── Aktif post-processing rozetleri ──────────────────────────────── @override bool get faceSwapAktif; @override bool get faceRestoreAktif; @override bool get lipsyncAktif; @override bool get vokalAyirmaAktif; @override String? get notlar; @override List get hatalar; @override DateTime get olusturma; @override DateTime get guncelleme; /// Create a copy of Sahne /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$SahneImplCopyWith<_$SahneImpl> get copyWith => throw _privateConstructorUsedError; }