// 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 'film.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', ); Film _$FilmFromJson(Map json) { return _Film.fromJson(json); } /// @nodoc mixin _$Film { String get id => throw _privateConstructorUsedError; String get isim => throw _privateConstructorUsedError; String? get aciklama => throw _privateConstructorUsedError; String? get karakterId => throw _privateConstructorUsedError; // ana karakter (opsiyonel) String? get sarkiDosyaYolu => throw _privateConstructorUsedError; String? get lirikler => throw _privateConstructorUsedError; AnalizSonuclari? get sesAnalizi => throw _privateConstructorUsedError; List get sahneler => throw _privateConstructorUsedError; String? get aktifSablonId => throw _privateConstructorUsedError; CikisAyarlari get cikis => throw _privateConstructorUsedError; KarakterKilidi get globalKilit => throw _privateConstructorUsedError; String? get finalCiktiYolu => throw _privateConstructorUsedError; String? get kapak => throw _privateConstructorUsedError; // thumbnail DateTime get olusturma => throw _privateConstructorUsedError; DateTime get guncelleme => throw _privateConstructorUsedError; /// Serializes this Film to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of Film /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $FilmCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $FilmCopyWith<$Res> { factory $FilmCopyWith(Film value, $Res Function(Film) then) = _$FilmCopyWithImpl<$Res, Film>; @useResult $Res call({ String id, String isim, String? aciklama, String? karakterId, String? sarkiDosyaYolu, String? lirikler, AnalizSonuclari? sesAnalizi, List sahneler, String? aktifSablonId, CikisAyarlari cikis, KarakterKilidi globalKilit, String? finalCiktiYolu, String? kapak, DateTime olusturma, DateTime guncelleme, }); $AnalizSonuclariCopyWith<$Res>? get sesAnalizi; $CikisAyarlariCopyWith<$Res> get cikis; $KarakterKilidiCopyWith<$Res> get globalKilit; } /// @nodoc class _$FilmCopyWithImpl<$Res, $Val extends Film> implements $FilmCopyWith<$Res> { _$FilmCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of Film /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? isim = null, Object? aciklama = freezed, Object? karakterId = freezed, Object? sarkiDosyaYolu = freezed, Object? lirikler = freezed, Object? sesAnalizi = freezed, Object? sahneler = null, Object? aktifSablonId = freezed, Object? cikis = null, Object? globalKilit = null, Object? finalCiktiYolu = freezed, Object? kapak = freezed, Object? olusturma = null, Object? guncelleme = null, }) { return _then( _value.copyWith( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, isim: null == isim ? _value.isim : isim // ignore: cast_nullable_to_non_nullable as String, aciklama: freezed == aciklama ? _value.aciklama : aciklama // ignore: cast_nullable_to_non_nullable as String?, karakterId: freezed == karakterId ? _value.karakterId : karakterId // ignore: cast_nullable_to_non_nullable as String?, sarkiDosyaYolu: freezed == sarkiDosyaYolu ? _value.sarkiDosyaYolu : sarkiDosyaYolu // ignore: cast_nullable_to_non_nullable as String?, lirikler: freezed == lirikler ? _value.lirikler : lirikler // ignore: cast_nullable_to_non_nullable as String?, sesAnalizi: freezed == sesAnalizi ? _value.sesAnalizi : sesAnalizi // ignore: cast_nullable_to_non_nullable as AnalizSonuclari?, sahneler: null == sahneler ? _value.sahneler : sahneler // ignore: cast_nullable_to_non_nullable as List, aktifSablonId: freezed == aktifSablonId ? _value.aktifSablonId : aktifSablonId // ignore: cast_nullable_to_non_nullable as String?, cikis: null == cikis ? _value.cikis : cikis // ignore: cast_nullable_to_non_nullable as CikisAyarlari, globalKilit: null == globalKilit ? _value.globalKilit : globalKilit // ignore: cast_nullable_to_non_nullable as KarakterKilidi, finalCiktiYolu: freezed == finalCiktiYolu ? _value.finalCiktiYolu : finalCiktiYolu // ignore: cast_nullable_to_non_nullable as String?, kapak: freezed == kapak ? _value.kapak : kapak // ignore: cast_nullable_to_non_nullable as String?, 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 Film /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $AnalizSonuclariCopyWith<$Res>? get sesAnalizi { if (_value.sesAnalizi == null) { return null; } return $AnalizSonuclariCopyWith<$Res>(_value.sesAnalizi!, (value) { return _then(_value.copyWith(sesAnalizi: value) as $Val); }); } /// Create a copy of Film /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $CikisAyarlariCopyWith<$Res> get cikis { return $CikisAyarlariCopyWith<$Res>(_value.cikis, (value) { return _then(_value.copyWith(cikis: value) as $Val); }); } /// Create a copy of Film /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $KarakterKilidiCopyWith<$Res> get globalKilit { return $KarakterKilidiCopyWith<$Res>(_value.globalKilit, (value) { return _then(_value.copyWith(globalKilit: value) as $Val); }); } } /// @nodoc abstract class _$$FilmImplCopyWith<$Res> implements $FilmCopyWith<$Res> { factory _$$FilmImplCopyWith( _$FilmImpl value, $Res Function(_$FilmImpl) then, ) = __$$FilmImplCopyWithImpl<$Res>; @override @useResult $Res call({ String id, String isim, String? aciklama, String? karakterId, String? sarkiDosyaYolu, String? lirikler, AnalizSonuclari? sesAnalizi, List sahneler, String? aktifSablonId, CikisAyarlari cikis, KarakterKilidi globalKilit, String? finalCiktiYolu, String? kapak, DateTime olusturma, DateTime guncelleme, }); @override $AnalizSonuclariCopyWith<$Res>? get sesAnalizi; @override $CikisAyarlariCopyWith<$Res> get cikis; @override $KarakterKilidiCopyWith<$Res> get globalKilit; } /// @nodoc class __$$FilmImplCopyWithImpl<$Res> extends _$FilmCopyWithImpl<$Res, _$FilmImpl> implements _$$FilmImplCopyWith<$Res> { __$$FilmImplCopyWithImpl(_$FilmImpl _value, $Res Function(_$FilmImpl) _then) : super(_value, _then); /// Create a copy of Film /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? isim = null, Object? aciklama = freezed, Object? karakterId = freezed, Object? sarkiDosyaYolu = freezed, Object? lirikler = freezed, Object? sesAnalizi = freezed, Object? sahneler = null, Object? aktifSablonId = freezed, Object? cikis = null, Object? globalKilit = null, Object? finalCiktiYolu = freezed, Object? kapak = freezed, Object? olusturma = null, Object? guncelleme = null, }) { return _then( _$FilmImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, isim: null == isim ? _value.isim : isim // ignore: cast_nullable_to_non_nullable as String, aciklama: freezed == aciklama ? _value.aciklama : aciklama // ignore: cast_nullable_to_non_nullable as String?, karakterId: freezed == karakterId ? _value.karakterId : karakterId // ignore: cast_nullable_to_non_nullable as String?, sarkiDosyaYolu: freezed == sarkiDosyaYolu ? _value.sarkiDosyaYolu : sarkiDosyaYolu // ignore: cast_nullable_to_non_nullable as String?, lirikler: freezed == lirikler ? _value.lirikler : lirikler // ignore: cast_nullable_to_non_nullable as String?, sesAnalizi: freezed == sesAnalizi ? _value.sesAnalizi : sesAnalizi // ignore: cast_nullable_to_non_nullable as AnalizSonuclari?, sahneler: null == sahneler ? _value._sahneler : sahneler // ignore: cast_nullable_to_non_nullable as List, aktifSablonId: freezed == aktifSablonId ? _value.aktifSablonId : aktifSablonId // ignore: cast_nullable_to_non_nullable as String?, cikis: null == cikis ? _value.cikis : cikis // ignore: cast_nullable_to_non_nullable as CikisAyarlari, globalKilit: null == globalKilit ? _value.globalKilit : globalKilit // ignore: cast_nullable_to_non_nullable as KarakterKilidi, finalCiktiYolu: freezed == finalCiktiYolu ? _value.finalCiktiYolu : finalCiktiYolu // ignore: cast_nullable_to_non_nullable as String?, kapak: freezed == kapak ? _value.kapak : kapak // ignore: cast_nullable_to_non_nullable as String?, 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 _$FilmImpl implements _Film { const _$FilmImpl({ required this.id, required this.isim, this.aciklama, this.karakterId, this.sarkiDosyaYolu, this.lirikler, this.sesAnalizi, final List sahneler = const [], this.aktifSablonId, this.cikis = const CikisAyarlari(), this.globalKilit = const KarakterKilidi(), this.finalCiktiYolu, this.kapak, required this.olusturma, required this.guncelleme, }) : _sahneler = sahneler; factory _$FilmImpl.fromJson(Map json) => _$$FilmImplFromJson(json); @override final String id; @override final String isim; @override final String? aciklama; @override final String? karakterId; // ana karakter (opsiyonel) @override final String? sarkiDosyaYolu; @override final String? lirikler; @override final AnalizSonuclari? sesAnalizi; final List _sahneler; @override @JsonKey() List get sahneler { if (_sahneler is EqualUnmodifiableListView) return _sahneler; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_sahneler); } @override final String? aktifSablonId; @override @JsonKey() final CikisAyarlari cikis; @override @JsonKey() final KarakterKilidi globalKilit; @override final String? finalCiktiYolu; @override final String? kapak; // thumbnail @override final DateTime olusturma; @override final DateTime guncelleme; @override String toString() { return 'Film(id: $id, isim: $isim, aciklama: $aciklama, karakterId: $karakterId, sarkiDosyaYolu: $sarkiDosyaYolu, lirikler: $lirikler, sesAnalizi: $sesAnalizi, sahneler: $sahneler, aktifSablonId: $aktifSablonId, cikis: $cikis, globalKilit: $globalKilit, finalCiktiYolu: $finalCiktiYolu, kapak: $kapak, olusturma: $olusturma, guncelleme: $guncelleme)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$FilmImpl && (identical(other.id, id) || other.id == id) && (identical(other.isim, isim) || other.isim == isim) && (identical(other.aciklama, aciklama) || other.aciklama == aciklama) && (identical(other.karakterId, karakterId) || other.karakterId == karakterId) && (identical(other.sarkiDosyaYolu, sarkiDosyaYolu) || other.sarkiDosyaYolu == sarkiDosyaYolu) && (identical(other.lirikler, lirikler) || other.lirikler == lirikler) && (identical(other.sesAnalizi, sesAnalizi) || other.sesAnalizi == sesAnalizi) && const DeepCollectionEquality().equals(other._sahneler, _sahneler) && (identical(other.aktifSablonId, aktifSablonId) || other.aktifSablonId == aktifSablonId) && (identical(other.cikis, cikis) || other.cikis == cikis) && (identical(other.globalKilit, globalKilit) || other.globalKilit == globalKilit) && (identical(other.finalCiktiYolu, finalCiktiYolu) || other.finalCiktiYolu == finalCiktiYolu) && (identical(other.kapak, kapak) || other.kapak == kapak) && (identical(other.olusturma, olusturma) || other.olusturma == olusturma) && (identical(other.guncelleme, guncelleme) || other.guncelleme == guncelleme)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, id, isim, aciklama, karakterId, sarkiDosyaYolu, lirikler, sesAnalizi, const DeepCollectionEquality().hash(_sahneler), aktifSablonId, cikis, globalKilit, finalCiktiYolu, kapak, olusturma, guncelleme, ); /// Create a copy of Film /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$FilmImplCopyWith<_$FilmImpl> get copyWith => __$$FilmImplCopyWithImpl<_$FilmImpl>(this, _$identity); @override Map toJson() { return _$$FilmImplToJson(this); } } abstract class _Film implements Film { const factory _Film({ required final String id, required final String isim, final String? aciklama, final String? karakterId, final String? sarkiDosyaYolu, final String? lirikler, final AnalizSonuclari? sesAnalizi, final List sahneler, final String? aktifSablonId, final CikisAyarlari cikis, final KarakterKilidi globalKilit, final String? finalCiktiYolu, final String? kapak, required final DateTime olusturma, required final DateTime guncelleme, }) = _$FilmImpl; factory _Film.fromJson(Map json) = _$FilmImpl.fromJson; @override String get id; @override String get isim; @override String? get aciklama; @override String? get karakterId; // ana karakter (opsiyonel) @override String? get sarkiDosyaYolu; @override String? get lirikler; @override AnalizSonuclari? get sesAnalizi; @override List get sahneler; @override String? get aktifSablonId; @override CikisAyarlari get cikis; @override KarakterKilidi get globalKilit; @override String? get finalCiktiYolu; @override String? get kapak; // thumbnail @override DateTime get olusturma; @override DateTime get guncelleme; /// Create a copy of Film /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$FilmImplCopyWith<_$FilmImpl> get copyWith => throw _privateConstructorUsedError; }