// 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 'home_ui_model.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 _$HomeUIModelState { AppPlacardData? get appPlacardData => throw _privateConstructorUsedError; bool get isFixing => throw _privateConstructorUsedError; String get isFixingString => throw _privateConstructorUsedError; String? get scInstalledPath => throw _privateConstructorUsedError; List get scInstallPaths => throw _privateConstructorUsedError; AppWebLocalizationVersionsData? get webLocalizationVersionsData => throw _privateConstructorUsedError; bool get isCurGameRunning => throw _privateConstructorUsedError; String get lastScreenInfo => throw _privateConstructorUsedError; List? get rssVideoItems => throw _privateConstructorUsedError; List? get rssTextItems => throw _privateConstructorUsedError; MapEntry? get localizationUpdateInfo => throw _privateConstructorUsedError; List? get scServerStatus => throw _privateConstructorUsedError; List? get countdownFestivalListData => throw _privateConstructorUsedError; @JsonKey(ignore: true) $HomeUIModelStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $HomeUIModelStateCopyWith<$Res> { factory $HomeUIModelStateCopyWith( HomeUIModelState value, $Res Function(HomeUIModelState) then) = _$HomeUIModelStateCopyWithImpl<$Res, HomeUIModelState>; @useResult $Res call( {AppPlacardData? appPlacardData, bool isFixing, String isFixingString, String? scInstalledPath, List scInstallPaths, AppWebLocalizationVersionsData? webLocalizationVersionsData, bool isCurGameRunning, String lastScreenInfo, List? rssVideoItems, List? rssTextItems, MapEntry? localizationUpdateInfo, List? scServerStatus, List? countdownFestivalListData}); } /// @nodoc class _$HomeUIModelStateCopyWithImpl<$Res, $Val extends HomeUIModelState> implements $HomeUIModelStateCopyWith<$Res> { _$HomeUIModelStateCopyWithImpl(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? appPlacardData = freezed, Object? isFixing = null, Object? isFixingString = null, Object? scInstalledPath = freezed, Object? scInstallPaths = null, Object? webLocalizationVersionsData = freezed, Object? isCurGameRunning = null, Object? lastScreenInfo = null, Object? rssVideoItems = freezed, Object? rssTextItems = freezed, Object? localizationUpdateInfo = freezed, Object? scServerStatus = freezed, Object? countdownFestivalListData = freezed, }) { return _then(_value.copyWith( appPlacardData: freezed == appPlacardData ? _value.appPlacardData : appPlacardData // ignore: cast_nullable_to_non_nullable as AppPlacardData?, isFixing: null == isFixing ? _value.isFixing : isFixing // ignore: cast_nullable_to_non_nullable as bool, isFixingString: null == isFixingString ? _value.isFixingString : isFixingString // ignore: cast_nullable_to_non_nullable as String, scInstalledPath: freezed == scInstalledPath ? _value.scInstalledPath : scInstalledPath // ignore: cast_nullable_to_non_nullable as String?, scInstallPaths: null == scInstallPaths ? _value.scInstallPaths : scInstallPaths // ignore: cast_nullable_to_non_nullable as List, webLocalizationVersionsData: freezed == webLocalizationVersionsData ? _value.webLocalizationVersionsData : webLocalizationVersionsData // ignore: cast_nullable_to_non_nullable as AppWebLocalizationVersionsData?, isCurGameRunning: null == isCurGameRunning ? _value.isCurGameRunning : isCurGameRunning // ignore: cast_nullable_to_non_nullable as bool, lastScreenInfo: null == lastScreenInfo ? _value.lastScreenInfo : lastScreenInfo // ignore: cast_nullable_to_non_nullable as String, rssVideoItems: freezed == rssVideoItems ? _value.rssVideoItems : rssVideoItems // ignore: cast_nullable_to_non_nullable as List?, rssTextItems: freezed == rssTextItems ? _value.rssTextItems : rssTextItems // ignore: cast_nullable_to_non_nullable as List?, localizationUpdateInfo: freezed == localizationUpdateInfo ? _value.localizationUpdateInfo : localizationUpdateInfo // ignore: cast_nullable_to_non_nullable as MapEntry?, scServerStatus: freezed == scServerStatus ? _value.scServerStatus : scServerStatus // ignore: cast_nullable_to_non_nullable as List?, countdownFestivalListData: freezed == countdownFestivalListData ? _value.countdownFestivalListData : countdownFestivalListData // ignore: cast_nullable_to_non_nullable as List?, ) as $Val); } } /// @nodoc abstract class _$$HomeUIModelStateImplCopyWith<$Res> implements $HomeUIModelStateCopyWith<$Res> { factory _$$HomeUIModelStateImplCopyWith(_$HomeUIModelStateImpl value, $Res Function(_$HomeUIModelStateImpl) then) = __$$HomeUIModelStateImplCopyWithImpl<$Res>; @override @useResult $Res call( {AppPlacardData? appPlacardData, bool isFixing, String isFixingString, String? scInstalledPath, List scInstallPaths, AppWebLocalizationVersionsData? webLocalizationVersionsData, bool isCurGameRunning, String lastScreenInfo, List? rssVideoItems, List? rssTextItems, MapEntry? localizationUpdateInfo, List? scServerStatus, List? countdownFestivalListData}); } /// @nodoc class __$$HomeUIModelStateImplCopyWithImpl<$Res> extends _$HomeUIModelStateCopyWithImpl<$Res, _$HomeUIModelStateImpl> implements _$$HomeUIModelStateImplCopyWith<$Res> { __$$HomeUIModelStateImplCopyWithImpl(_$HomeUIModelStateImpl _value, $Res Function(_$HomeUIModelStateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @override $Res call({ Object? appPlacardData = freezed, Object? isFixing = null, Object? isFixingString = null, Object? scInstalledPath = freezed, Object? scInstallPaths = null, Object? webLocalizationVersionsData = freezed, Object? isCurGameRunning = null, Object? lastScreenInfo = null, Object? rssVideoItems = freezed, Object? rssTextItems = freezed, Object? localizationUpdateInfo = freezed, Object? scServerStatus = freezed, Object? countdownFestivalListData = freezed, }) { return _then(_$HomeUIModelStateImpl( appPlacardData: freezed == appPlacardData ? _value.appPlacardData : appPlacardData // ignore: cast_nullable_to_non_nullable as AppPlacardData?, isFixing: null == isFixing ? _value.isFixing : isFixing // ignore: cast_nullable_to_non_nullable as bool, isFixingString: null == isFixingString ? _value.isFixingString : isFixingString // ignore: cast_nullable_to_non_nullable as String, scInstalledPath: freezed == scInstalledPath ? _value.scInstalledPath : scInstalledPath // ignore: cast_nullable_to_non_nullable as String?, scInstallPaths: null == scInstallPaths ? _value._scInstallPaths : scInstallPaths // ignore: cast_nullable_to_non_nullable as List, webLocalizationVersionsData: freezed == webLocalizationVersionsData ? _value.webLocalizationVersionsData : webLocalizationVersionsData // ignore: cast_nullable_to_non_nullable as AppWebLocalizationVersionsData?, isCurGameRunning: null == isCurGameRunning ? _value.isCurGameRunning : isCurGameRunning // ignore: cast_nullable_to_non_nullable as bool, lastScreenInfo: null == lastScreenInfo ? _value.lastScreenInfo : lastScreenInfo // ignore: cast_nullable_to_non_nullable as String, rssVideoItems: freezed == rssVideoItems ? _value._rssVideoItems : rssVideoItems // ignore: cast_nullable_to_non_nullable as List?, rssTextItems: freezed == rssTextItems ? _value._rssTextItems : rssTextItems // ignore: cast_nullable_to_non_nullable as List?, localizationUpdateInfo: freezed == localizationUpdateInfo ? _value.localizationUpdateInfo : localizationUpdateInfo // ignore: cast_nullable_to_non_nullable as MapEntry?, scServerStatus: freezed == scServerStatus ? _value._scServerStatus : scServerStatus // ignore: cast_nullable_to_non_nullable as List?, countdownFestivalListData: freezed == countdownFestivalListData ? _value._countdownFestivalListData : countdownFestivalListData // ignore: cast_nullable_to_non_nullable as List?, )); } } /// @nodoc class _$HomeUIModelStateImpl implements _HomeUIModelState { _$HomeUIModelStateImpl( {this.appPlacardData, this.isFixing = false, this.isFixingString = "", this.scInstalledPath, final List scInstallPaths = const [], this.webLocalizationVersionsData, this.isCurGameRunning = false, this.lastScreenInfo = "", final List? rssVideoItems, final List? rssTextItems, this.localizationUpdateInfo, final List? scServerStatus, final List? countdownFestivalListData}) : _scInstallPaths = scInstallPaths, _rssVideoItems = rssVideoItems, _rssTextItems = rssTextItems, _scServerStatus = scServerStatus, _countdownFestivalListData = countdownFestivalListData; @override final AppPlacardData? appPlacardData; @override @JsonKey() final bool isFixing; @override @JsonKey() final String isFixingString; @override final String? scInstalledPath; final List _scInstallPaths; @override @JsonKey() List get scInstallPaths { if (_scInstallPaths is EqualUnmodifiableListView) return _scInstallPaths; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_scInstallPaths); } @override final AppWebLocalizationVersionsData? webLocalizationVersionsData; @override @JsonKey() final bool isCurGameRunning; @override @JsonKey() final String lastScreenInfo; final List? _rssVideoItems; @override List? get rssVideoItems { final value = _rssVideoItems; if (value == null) return null; if (_rssVideoItems is EqualUnmodifiableListView) return _rssVideoItems; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(value); } final List? _rssTextItems; @override List? get rssTextItems { final value = _rssTextItems; if (value == null) return null; if (_rssTextItems is EqualUnmodifiableListView) return _rssTextItems; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(value); } @override final MapEntry? localizationUpdateInfo; final List? _scServerStatus; @override List? get scServerStatus { final value = _scServerStatus; if (value == null) return null; if (_scServerStatus is EqualUnmodifiableListView) return _scServerStatus; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(value); } final List? _countdownFestivalListData; @override List? get countdownFestivalListData { final value = _countdownFestivalListData; if (value == null) return null; if (_countdownFestivalListData is EqualUnmodifiableListView) return _countdownFestivalListData; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(value); } @override String toString() { return 'HomeUIModelState(appPlacardData: $appPlacardData, isFixing: $isFixing, isFixingString: $isFixingString, scInstalledPath: $scInstalledPath, scInstallPaths: $scInstallPaths, webLocalizationVersionsData: $webLocalizationVersionsData, isCurGameRunning: $isCurGameRunning, lastScreenInfo: $lastScreenInfo, rssVideoItems: $rssVideoItems, rssTextItems: $rssTextItems, localizationUpdateInfo: $localizationUpdateInfo, scServerStatus: $scServerStatus, countdownFestivalListData: $countdownFestivalListData)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$HomeUIModelStateImpl && (identical(other.appPlacardData, appPlacardData) || other.appPlacardData == appPlacardData) && (identical(other.isFixing, isFixing) || other.isFixing == isFixing) && (identical(other.isFixingString, isFixingString) || other.isFixingString == isFixingString) && (identical(other.scInstalledPath, scInstalledPath) || other.scInstalledPath == scInstalledPath) && const DeepCollectionEquality() .equals(other._scInstallPaths, _scInstallPaths) && (identical(other.webLocalizationVersionsData, webLocalizationVersionsData) || other.webLocalizationVersionsData == webLocalizationVersionsData) && (identical(other.isCurGameRunning, isCurGameRunning) || other.isCurGameRunning == isCurGameRunning) && (identical(other.lastScreenInfo, lastScreenInfo) || other.lastScreenInfo == lastScreenInfo) && const DeepCollectionEquality() .equals(other._rssVideoItems, _rssVideoItems) && const DeepCollectionEquality() .equals(other._rssTextItems, _rssTextItems) && (identical(other.localizationUpdateInfo, localizationUpdateInfo) || other.localizationUpdateInfo == localizationUpdateInfo) && const DeepCollectionEquality() .equals(other._scServerStatus, _scServerStatus) && const DeepCollectionEquality().equals( other._countdownFestivalListData, _countdownFestivalListData)); } @override int get hashCode => Object.hash( runtimeType, appPlacardData, isFixing, isFixingString, scInstalledPath, const DeepCollectionEquality().hash(_scInstallPaths), webLocalizationVersionsData, isCurGameRunning, lastScreenInfo, const DeepCollectionEquality().hash(_rssVideoItems), const DeepCollectionEquality().hash(_rssTextItems), localizationUpdateInfo, const DeepCollectionEquality().hash(_scServerStatus), const DeepCollectionEquality().hash(_countdownFestivalListData)); @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') _$$HomeUIModelStateImplCopyWith<_$HomeUIModelStateImpl> get copyWith => __$$HomeUIModelStateImplCopyWithImpl<_$HomeUIModelStateImpl>( this, _$identity); } abstract class _HomeUIModelState implements HomeUIModelState { factory _HomeUIModelState( {final AppPlacardData? appPlacardData, final bool isFixing, final String isFixingString, final String? scInstalledPath, final List scInstallPaths, final AppWebLocalizationVersionsData? webLocalizationVersionsData, final bool isCurGameRunning, final String lastScreenInfo, final List? rssVideoItems, final List? rssTextItems, final MapEntry? localizationUpdateInfo, final List? scServerStatus, final List? countdownFestivalListData}) = _$HomeUIModelStateImpl; @override AppPlacardData? get appPlacardData; @override bool get isFixing; @override String get isFixingString; @override String? get scInstalledPath; @override List get scInstallPaths; @override AppWebLocalizationVersionsData? get webLocalizationVersionsData; @override bool get isCurGameRunning; @override String get lastScreenInfo; @override List? get rssVideoItems; @override List? get rssTextItems; @override MapEntry? get localizationUpdateInfo; @override List? get scServerStatus; @override List? get countdownFestivalListData; @override @JsonKey(ignore: true) _$$HomeUIModelStateImplCopyWith<_$HomeUIModelStateImpl> get copyWith => throw _privateConstructorUsedError; }