// 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 'sync_item.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'); /// @nodoc mixin _$SyncedItem { String get id => throw _privateConstructorUsedError; String? get parentId => throw _privateConstructorUsedError; String get userId => throw _privateConstructorUsedError; String? get path => throw _privateConstructorUsedError; bool get markedForDelete => throw _privateConstructorUsedError; String? get sortName => throw _privateConstructorUsedError; int? get fileSize => throw _privateConstructorUsedError; String? get videoFileName => throw _privateConstructorUsedError; IntroOutSkipModel? get introOutSkipModel => throw _privateConstructorUsedError; TrickPlayModel? get fTrickPlayModel => throw _privateConstructorUsedError; ImagesData? get fImages => throw _privateConstructorUsedError; List get fChapters => throw _privateConstructorUsedError; List get subtitles => throw _privateConstructorUsedError; @UserDataJsonSerializer() UserData? get userData => throw _privateConstructorUsedError; @JsonKey(ignore: true) $SyncedItemCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $SyncedItemCopyWith<$Res> { factory $SyncedItemCopyWith( SyncedItem value, $Res Function(SyncedItem) then) = _$SyncedItemCopyWithImpl<$Res, SyncedItem>; @useResult $Res call( {String id, String? parentId, String userId, String? path, bool markedForDelete, String? sortName, int? fileSize, String? videoFileName, IntroOutSkipModel? introOutSkipModel, TrickPlayModel? fTrickPlayModel, ImagesData? fImages, List fChapters, List subtitles, @UserDataJsonSerializer() UserData? userData}); $IntroOutSkipModelCopyWith<$Res>? get introOutSkipModel; $TrickPlayModelCopyWith<$Res>? get fTrickPlayModel; } /// @nodoc class _$SyncedItemCopyWithImpl<$Res, $Val extends SyncedItem> implements $SyncedItemCopyWith<$Res> { _$SyncedItemCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? parentId = freezed, Object? userId = null, Object? path = freezed, Object? markedForDelete = null, Object? sortName = freezed, Object? fileSize = freezed, Object? videoFileName = freezed, Object? introOutSkipModel = freezed, Object? fTrickPlayModel = freezed, Object? fImages = freezed, Object? fChapters = null, Object? subtitles = null, Object? userData = freezed, }) { return _then(_value.copyWith( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, parentId: freezed == parentId ? _value.parentId : parentId // ignore: cast_nullable_to_non_nullable as String?, userId: null == userId ? _value.userId : userId // ignore: cast_nullable_to_non_nullable as String, path: freezed == path ? _value.path : path // ignore: cast_nullable_to_non_nullable as String?, markedForDelete: null == markedForDelete ? _value.markedForDelete : markedForDelete // ignore: cast_nullable_to_non_nullable as bool, sortName: freezed == sortName ? _value.sortName : sortName // ignore: cast_nullable_to_non_nullable as String?, fileSize: freezed == fileSize ? _value.fileSize : fileSize // ignore: cast_nullable_to_non_nullable as int?, videoFileName: freezed == videoFileName ? _value.videoFileName : videoFileName // ignore: cast_nullable_to_non_nullable as String?, introOutSkipModel: freezed == introOutSkipModel ? _value.introOutSkipModel : introOutSkipModel // ignore: cast_nullable_to_non_nullable as IntroOutSkipModel?, fTrickPlayModel: freezed == fTrickPlayModel ? _value.fTrickPlayModel : fTrickPlayModel // ignore: cast_nullable_to_non_nullable as TrickPlayModel?, fImages: freezed == fImages ? _value.fImages : fImages // ignore: cast_nullable_to_non_nullable as ImagesData?, fChapters: null == fChapters ? _value.fChapters : fChapters // ignore: cast_nullable_to_non_nullable as List, subtitles: null == subtitles ? _value.subtitles : subtitles // ignore: cast_nullable_to_non_nullable as List, userData: freezed == userData ? _value.userData : userData // ignore: cast_nullable_to_non_nullable as UserData?, ) as $Val); } @override @pragma('vm:prefer-inline') $IntroOutSkipModelCopyWith<$Res>? get introOutSkipModel { if (_value.introOutSkipModel == null) { return null; } return $IntroOutSkipModelCopyWith<$Res>(_value.introOutSkipModel!, (value) { return _then(_value.copyWith(introOutSkipModel: value) as $Val); }); } @override @pragma('vm:prefer-inline') $TrickPlayModelCopyWith<$Res>? get fTrickPlayModel { if (_value.fTrickPlayModel == null) { return null; } return $TrickPlayModelCopyWith<$Res>(_value.fTrickPlayModel!, (value) { return _then(_value.copyWith(fTrickPlayModel: value) as $Val); }); } } /// @nodoc abstract class _$$SyncItemImplCopyWith<$Res> implements $SyncedItemCopyWith<$Res> { factory _$$SyncItemImplCopyWith( _$SyncItemImpl value, $Res Function(_$SyncItemImpl) then) = __$$SyncItemImplCopyWithImpl<$Res>; @override @useResult $Res call( {String id, String? parentId, String userId, String? path, bool markedForDelete, String? sortName, int? fileSize, String? videoFileName, IntroOutSkipModel? introOutSkipModel, TrickPlayModel? fTrickPlayModel, ImagesData? fImages, List fChapters, List subtitles, @UserDataJsonSerializer() UserData? userData}); @override $IntroOutSkipModelCopyWith<$Res>? get introOutSkipModel; @override $TrickPlayModelCopyWith<$Res>? get fTrickPlayModel; } /// @nodoc class __$$SyncItemImplCopyWithImpl<$Res> extends _$SyncedItemCopyWithImpl<$Res, _$SyncItemImpl> implements _$$SyncItemImplCopyWith<$Res> { __$$SyncItemImplCopyWithImpl( _$SyncItemImpl _value, $Res Function(_$SyncItemImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? parentId = freezed, Object? userId = null, Object? path = freezed, Object? markedForDelete = null, Object? sortName = freezed, Object? fileSize = freezed, Object? videoFileName = freezed, Object? introOutSkipModel = freezed, Object? fTrickPlayModel = freezed, Object? fImages = freezed, Object? fChapters = null, Object? subtitles = null, Object? userData = freezed, }) { return _then(_$SyncItemImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, parentId: freezed == parentId ? _value.parentId : parentId // ignore: cast_nullable_to_non_nullable as String?, userId: null == userId ? _value.userId : userId // ignore: cast_nullable_to_non_nullable as String, path: freezed == path ? _value.path : path // ignore: cast_nullable_to_non_nullable as String?, markedForDelete: null == markedForDelete ? _value.markedForDelete : markedForDelete // ignore: cast_nullable_to_non_nullable as bool, sortName: freezed == sortName ? _value.sortName : sortName // ignore: cast_nullable_to_non_nullable as String?, fileSize: freezed == fileSize ? _value.fileSize : fileSize // ignore: cast_nullable_to_non_nullable as int?, videoFileName: freezed == videoFileName ? _value.videoFileName : videoFileName // ignore: cast_nullable_to_non_nullable as String?, introOutSkipModel: freezed == introOutSkipModel ? _value.introOutSkipModel : introOutSkipModel // ignore: cast_nullable_to_non_nullable as IntroOutSkipModel?, fTrickPlayModel: freezed == fTrickPlayModel ? _value.fTrickPlayModel : fTrickPlayModel // ignore: cast_nullable_to_non_nullable as TrickPlayModel?, fImages: freezed == fImages ? _value.fImages : fImages // ignore: cast_nullable_to_non_nullable as ImagesData?, fChapters: null == fChapters ? _value._fChapters : fChapters // ignore: cast_nullable_to_non_nullable as List, subtitles: null == subtitles ? _value._subtitles : subtitles // ignore: cast_nullable_to_non_nullable as List, userData: freezed == userData ? _value.userData : userData // ignore: cast_nullable_to_non_nullable as UserData?, )); } } /// @nodoc class _$SyncItemImpl extends _SyncItem { _$SyncItemImpl( {required this.id, this.parentId, required this.userId, this.path, this.markedForDelete = false, this.sortName, this.fileSize, this.videoFileName, this.introOutSkipModel, this.fTrickPlayModel, this.fImages, final List fChapters = const [], final List subtitles = const [], @UserDataJsonSerializer() this.userData}) : _fChapters = fChapters, _subtitles = subtitles, super._(); @override final String id; @override final String? parentId; @override final String userId; @override final String? path; @override @JsonKey() final bool markedForDelete; @override final String? sortName; @override final int? fileSize; @override final String? videoFileName; @override final IntroOutSkipModel? introOutSkipModel; @override final TrickPlayModel? fTrickPlayModel; @override final ImagesData? fImages; final List _fChapters; @override @JsonKey() List get fChapters { if (_fChapters is EqualUnmodifiableListView) return _fChapters; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_fChapters); } final List _subtitles; @override @JsonKey() List get subtitles { if (_subtitles is EqualUnmodifiableListView) return _subtitles; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_subtitles); } @override @UserDataJsonSerializer() final UserData? userData; @override String toString() { return 'SyncedItem(id: $id, parentId: $parentId, userId: $userId, path: $path, markedForDelete: $markedForDelete, sortName: $sortName, fileSize: $fileSize, videoFileName: $videoFileName, introOutSkipModel: $introOutSkipModel, fTrickPlayModel: $fTrickPlayModel, fImages: $fImages, fChapters: $fChapters, subtitles: $subtitles, userData: $userData)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SyncItemImpl && (identical(other.id, id) || other.id == id) && (identical(other.parentId, parentId) || other.parentId == parentId) && (identical(other.userId, userId) || other.userId == userId) && (identical(other.path, path) || other.path == path) && (identical(other.markedForDelete, markedForDelete) || other.markedForDelete == markedForDelete) && (identical(other.sortName, sortName) || other.sortName == sortName) && (identical(other.fileSize, fileSize) || other.fileSize == fileSize) && (identical(other.videoFileName, videoFileName) || other.videoFileName == videoFileName) && (identical(other.introOutSkipModel, introOutSkipModel) || other.introOutSkipModel == introOutSkipModel) && (identical(other.fTrickPlayModel, fTrickPlayModel) || other.fTrickPlayModel == fTrickPlayModel) && (identical(other.fImages, fImages) || other.fImages == fImages) && const DeepCollectionEquality() .equals(other._fChapters, _fChapters) && const DeepCollectionEquality() .equals(other._subtitles, _subtitles) && (identical(other.userData, userData) || other.userData == userData)); } @override int get hashCode => Object.hash( runtimeType, id, parentId, userId, path, markedForDelete, sortName, fileSize, videoFileName, introOutSkipModel, fTrickPlayModel, fImages, const DeepCollectionEquality().hash(_fChapters), const DeepCollectionEquality().hash(_subtitles), userData); @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') _$$SyncItemImplCopyWith<_$SyncItemImpl> get copyWith => __$$SyncItemImplCopyWithImpl<_$SyncItemImpl>(this, _$identity); } abstract class _SyncItem extends SyncedItem { factory _SyncItem( {required final String id, final String? parentId, required final String userId, final String? path, final bool markedForDelete, final String? sortName, final int? fileSize, final String? videoFileName, final IntroOutSkipModel? introOutSkipModel, final TrickPlayModel? fTrickPlayModel, final ImagesData? fImages, final List fChapters, final List subtitles, @UserDataJsonSerializer() final UserData? userData}) = _$SyncItemImpl; _SyncItem._() : super._(); @override String get id; @override String? get parentId; @override String get userId; @override String? get path; @override bool get markedForDelete; @override String? get sortName; @override int? get fileSize; @override String? get videoFileName; @override IntroOutSkipModel? get introOutSkipModel; @override TrickPlayModel? get fTrickPlayModel; @override ImagesData? get fImages; @override List get fChapters; @override List get subtitles; @override @UserDataJsonSerializer() UserData? get userData; @override @JsonKey(ignore: true) _$$SyncItemImplCopyWith<_$SyncItemImpl> get copyWith => throw _privateConstructorUsedError; }