// 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 '../selector.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 _$StartButtonSelectorState { bool get isInit => throw _privateConstructorUsedError; bool get hasProfile => throw _privateConstructorUsedError; /// Create a copy of StartButtonSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $StartButtonSelectorStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $StartButtonSelectorStateCopyWith<$Res> { factory $StartButtonSelectorStateCopyWith(StartButtonSelectorState value, $Res Function(StartButtonSelectorState) then) = _$StartButtonSelectorStateCopyWithImpl<$Res, StartButtonSelectorState>; @useResult $Res call({bool isInit, bool hasProfile}); } /// @nodoc class _$StartButtonSelectorStateCopyWithImpl<$Res, $Val extends StartButtonSelectorState> implements $StartButtonSelectorStateCopyWith<$Res> { _$StartButtonSelectorStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of StartButtonSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? isInit = null, Object? hasProfile = null, }) { return _then(_value.copyWith( isInit: null == isInit ? _value.isInit : isInit // ignore: cast_nullable_to_non_nullable as bool, hasProfile: null == hasProfile ? _value.hasProfile : hasProfile // ignore: cast_nullable_to_non_nullable as bool, ) as $Val); } } /// @nodoc abstract class _$$StartButtonSelectorStateImplCopyWith<$Res> implements $StartButtonSelectorStateCopyWith<$Res> { factory _$$StartButtonSelectorStateImplCopyWith( _$StartButtonSelectorStateImpl value, $Res Function(_$StartButtonSelectorStateImpl) then) = __$$StartButtonSelectorStateImplCopyWithImpl<$Res>; @override @useResult $Res call({bool isInit, bool hasProfile}); } /// @nodoc class __$$StartButtonSelectorStateImplCopyWithImpl<$Res> extends _$StartButtonSelectorStateCopyWithImpl<$Res, _$StartButtonSelectorStateImpl> implements _$$StartButtonSelectorStateImplCopyWith<$Res> { __$$StartButtonSelectorStateImplCopyWithImpl( _$StartButtonSelectorStateImpl _value, $Res Function(_$StartButtonSelectorStateImpl) _then) : super(_value, _then); /// Create a copy of StartButtonSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? isInit = null, Object? hasProfile = null, }) { return _then(_$StartButtonSelectorStateImpl( isInit: null == isInit ? _value.isInit : isInit // ignore: cast_nullable_to_non_nullable as bool, hasProfile: null == hasProfile ? _value.hasProfile : hasProfile // ignore: cast_nullable_to_non_nullable as bool, )); } } /// @nodoc class _$StartButtonSelectorStateImpl implements _StartButtonSelectorState { const _$StartButtonSelectorStateImpl( {required this.isInit, required this.hasProfile}); @override final bool isInit; @override final bool hasProfile; @override String toString() { return 'StartButtonSelectorState(isInit: $isInit, hasProfile: $hasProfile)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$StartButtonSelectorStateImpl && (identical(other.isInit, isInit) || other.isInit == isInit) && (identical(other.hasProfile, hasProfile) || other.hasProfile == hasProfile)); } @override int get hashCode => Object.hash(runtimeType, isInit, hasProfile); /// Create a copy of StartButtonSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$StartButtonSelectorStateImplCopyWith<_$StartButtonSelectorStateImpl> get copyWith => __$$StartButtonSelectorStateImplCopyWithImpl< _$StartButtonSelectorStateImpl>(this, _$identity); } abstract class _StartButtonSelectorState implements StartButtonSelectorState { const factory _StartButtonSelectorState( {required final bool isInit, required final bool hasProfile}) = _$StartButtonSelectorStateImpl; @override bool get isInit; @override bool get hasProfile; /// Create a copy of StartButtonSelectorState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$StartButtonSelectorStateImplCopyWith<_$StartButtonSelectorStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$CheckIpSelectorState { String? get currentProfileId => throw _privateConstructorUsedError; Map get selectedMap => throw _privateConstructorUsedError; /// Create a copy of CheckIpSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $CheckIpSelectorStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $CheckIpSelectorStateCopyWith<$Res> { factory $CheckIpSelectorStateCopyWith(CheckIpSelectorState value, $Res Function(CheckIpSelectorState) then) = _$CheckIpSelectorStateCopyWithImpl<$Res, CheckIpSelectorState>; @useResult $Res call({String? currentProfileId, Map selectedMap}); } /// @nodoc class _$CheckIpSelectorStateCopyWithImpl<$Res, $Val extends CheckIpSelectorState> implements $CheckIpSelectorStateCopyWith<$Res> { _$CheckIpSelectorStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of CheckIpSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? currentProfileId = freezed, Object? selectedMap = null, }) { return _then(_value.copyWith( currentProfileId: freezed == currentProfileId ? _value.currentProfileId : currentProfileId // ignore: cast_nullable_to_non_nullable as String?, selectedMap: null == selectedMap ? _value.selectedMap : selectedMap // ignore: cast_nullable_to_non_nullable as Map, ) as $Val); } } /// @nodoc abstract class _$$CheckIpSelectorStateImplCopyWith<$Res> implements $CheckIpSelectorStateCopyWith<$Res> { factory _$$CheckIpSelectorStateImplCopyWith(_$CheckIpSelectorStateImpl value, $Res Function(_$CheckIpSelectorStateImpl) then) = __$$CheckIpSelectorStateImplCopyWithImpl<$Res>; @override @useResult $Res call({String? currentProfileId, Map selectedMap}); } /// @nodoc class __$$CheckIpSelectorStateImplCopyWithImpl<$Res> extends _$CheckIpSelectorStateCopyWithImpl<$Res, _$CheckIpSelectorStateImpl> implements _$$CheckIpSelectorStateImplCopyWith<$Res> { __$$CheckIpSelectorStateImplCopyWithImpl(_$CheckIpSelectorStateImpl _value, $Res Function(_$CheckIpSelectorStateImpl) _then) : super(_value, _then); /// Create a copy of CheckIpSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? currentProfileId = freezed, Object? selectedMap = null, }) { return _then(_$CheckIpSelectorStateImpl( currentProfileId: freezed == currentProfileId ? _value.currentProfileId : currentProfileId // ignore: cast_nullable_to_non_nullable as String?, selectedMap: null == selectedMap ? _value._selectedMap : selectedMap // ignore: cast_nullable_to_non_nullable as Map, )); } } /// @nodoc class _$CheckIpSelectorStateImpl implements _CheckIpSelectorState { const _$CheckIpSelectorStateImpl( {required this.currentProfileId, required final Map selectedMap}) : _selectedMap = selectedMap; @override final String? currentProfileId; final Map _selectedMap; @override Map get selectedMap { if (_selectedMap is EqualUnmodifiableMapView) return _selectedMap; // ignore: implicit_dynamic_type return EqualUnmodifiableMapView(_selectedMap); } @override String toString() { return 'CheckIpSelectorState(currentProfileId: $currentProfileId, selectedMap: $selectedMap)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CheckIpSelectorStateImpl && (identical(other.currentProfileId, currentProfileId) || other.currentProfileId == currentProfileId) && const DeepCollectionEquality() .equals(other._selectedMap, _selectedMap)); } @override int get hashCode => Object.hash(runtimeType, currentProfileId, const DeepCollectionEquality().hash(_selectedMap)); /// Create a copy of CheckIpSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$CheckIpSelectorStateImplCopyWith<_$CheckIpSelectorStateImpl> get copyWith => __$$CheckIpSelectorStateImplCopyWithImpl<_$CheckIpSelectorStateImpl>( this, _$identity); } abstract class _CheckIpSelectorState implements CheckIpSelectorState { const factory _CheckIpSelectorState( {required final String? currentProfileId, required final Map selectedMap}) = _$CheckIpSelectorStateImpl; @override String? get currentProfileId; @override Map get selectedMap; /// Create a copy of CheckIpSelectorState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$CheckIpSelectorStateImplCopyWith<_$CheckIpSelectorStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$NetworkDetectionSelectorState { String? get currentProxyName => throw _privateConstructorUsedError; int? get delay => throw _privateConstructorUsedError; /// Create a copy of NetworkDetectionSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $NetworkDetectionSelectorStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $NetworkDetectionSelectorStateCopyWith<$Res> { factory $NetworkDetectionSelectorStateCopyWith( NetworkDetectionSelectorState value, $Res Function(NetworkDetectionSelectorState) then) = _$NetworkDetectionSelectorStateCopyWithImpl<$Res, NetworkDetectionSelectorState>; @useResult $Res call({String? currentProxyName, int? delay}); } /// @nodoc class _$NetworkDetectionSelectorStateCopyWithImpl<$Res, $Val extends NetworkDetectionSelectorState> implements $NetworkDetectionSelectorStateCopyWith<$Res> { _$NetworkDetectionSelectorStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of NetworkDetectionSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? currentProxyName = freezed, Object? delay = freezed, }) { return _then(_value.copyWith( currentProxyName: freezed == currentProxyName ? _value.currentProxyName : currentProxyName // ignore: cast_nullable_to_non_nullable as String?, delay: freezed == delay ? _value.delay : delay // ignore: cast_nullable_to_non_nullable as int?, ) as $Val); } } /// @nodoc abstract class _$$NetworkDetectionSelectorStateImplCopyWith<$Res> implements $NetworkDetectionSelectorStateCopyWith<$Res> { factory _$$NetworkDetectionSelectorStateImplCopyWith( _$NetworkDetectionSelectorStateImpl value, $Res Function(_$NetworkDetectionSelectorStateImpl) then) = __$$NetworkDetectionSelectorStateImplCopyWithImpl<$Res>; @override @useResult $Res call({String? currentProxyName, int? delay}); } /// @nodoc class __$$NetworkDetectionSelectorStateImplCopyWithImpl<$Res> extends _$NetworkDetectionSelectorStateCopyWithImpl<$Res, _$NetworkDetectionSelectorStateImpl> implements _$$NetworkDetectionSelectorStateImplCopyWith<$Res> { __$$NetworkDetectionSelectorStateImplCopyWithImpl( _$NetworkDetectionSelectorStateImpl _value, $Res Function(_$NetworkDetectionSelectorStateImpl) _then) : super(_value, _then); /// Create a copy of NetworkDetectionSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? currentProxyName = freezed, Object? delay = freezed, }) { return _then(_$NetworkDetectionSelectorStateImpl( currentProxyName: freezed == currentProxyName ? _value.currentProxyName : currentProxyName // ignore: cast_nullable_to_non_nullable as String?, delay: freezed == delay ? _value.delay : delay // ignore: cast_nullable_to_non_nullable as int?, )); } } /// @nodoc class _$NetworkDetectionSelectorStateImpl implements _NetworkDetectionSelectorState { const _$NetworkDetectionSelectorStateImpl( {required this.currentProxyName, required this.delay}); @override final String? currentProxyName; @override final int? delay; @override String toString() { return 'NetworkDetectionSelectorState(currentProxyName: $currentProxyName, delay: $delay)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$NetworkDetectionSelectorStateImpl && (identical(other.currentProxyName, currentProxyName) || other.currentProxyName == currentProxyName) && (identical(other.delay, delay) || other.delay == delay)); } @override int get hashCode => Object.hash(runtimeType, currentProxyName, delay); /// Create a copy of NetworkDetectionSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$NetworkDetectionSelectorStateImplCopyWith< _$NetworkDetectionSelectorStateImpl> get copyWith => __$$NetworkDetectionSelectorStateImplCopyWithImpl< _$NetworkDetectionSelectorStateImpl>(this, _$identity); } abstract class _NetworkDetectionSelectorState implements NetworkDetectionSelectorState { const factory _NetworkDetectionSelectorState( {required final String? currentProxyName, required final int? delay}) = _$NetworkDetectionSelectorStateImpl; @override String? get currentProxyName; @override int? get delay; /// Create a copy of NetworkDetectionSelectorState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$NetworkDetectionSelectorStateImplCopyWith< _$NetworkDetectionSelectorStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$ProfilesSelectorState { List get profiles => throw _privateConstructorUsedError; String? get currentProfileId => throw _privateConstructorUsedError; int get columns => throw _privateConstructorUsedError; /// Create a copy of ProfilesSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ProfilesSelectorStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProfilesSelectorStateCopyWith<$Res> { factory $ProfilesSelectorStateCopyWith(ProfilesSelectorState value, $Res Function(ProfilesSelectorState) then) = _$ProfilesSelectorStateCopyWithImpl<$Res, ProfilesSelectorState>; @useResult $Res call({List profiles, String? currentProfileId, int columns}); } /// @nodoc class _$ProfilesSelectorStateCopyWithImpl<$Res, $Val extends ProfilesSelectorState> implements $ProfilesSelectorStateCopyWith<$Res> { _$ProfilesSelectorStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ProfilesSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? profiles = null, Object? currentProfileId = freezed, Object? columns = null, }) { return _then(_value.copyWith( profiles: null == profiles ? _value.profiles : profiles // ignore: cast_nullable_to_non_nullable as List, currentProfileId: freezed == currentProfileId ? _value.currentProfileId : currentProfileId // ignore: cast_nullable_to_non_nullable as String?, columns: null == columns ? _value.columns : columns // ignore: cast_nullable_to_non_nullable as int, ) as $Val); } } /// @nodoc abstract class _$$ProfilesSelectorStateImplCopyWith<$Res> implements $ProfilesSelectorStateCopyWith<$Res> { factory _$$ProfilesSelectorStateImplCopyWith( _$ProfilesSelectorStateImpl value, $Res Function(_$ProfilesSelectorStateImpl) then) = __$$ProfilesSelectorStateImplCopyWithImpl<$Res>; @override @useResult $Res call({List profiles, String? currentProfileId, int columns}); } /// @nodoc class __$$ProfilesSelectorStateImplCopyWithImpl<$Res> extends _$ProfilesSelectorStateCopyWithImpl<$Res, _$ProfilesSelectorStateImpl> implements _$$ProfilesSelectorStateImplCopyWith<$Res> { __$$ProfilesSelectorStateImplCopyWithImpl(_$ProfilesSelectorStateImpl _value, $Res Function(_$ProfilesSelectorStateImpl) _then) : super(_value, _then); /// Create a copy of ProfilesSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? profiles = null, Object? currentProfileId = freezed, Object? columns = null, }) { return _then(_$ProfilesSelectorStateImpl( profiles: null == profiles ? _value._profiles : profiles // ignore: cast_nullable_to_non_nullable as List, currentProfileId: freezed == currentProfileId ? _value.currentProfileId : currentProfileId // ignore: cast_nullable_to_non_nullable as String?, columns: null == columns ? _value.columns : columns // ignore: cast_nullable_to_non_nullable as int, )); } } /// @nodoc class _$ProfilesSelectorStateImpl implements _ProfilesSelectorState { const _$ProfilesSelectorStateImpl( {required final List profiles, required this.currentProfileId, required this.columns}) : _profiles = profiles; final List _profiles; @override List get profiles { if (_profiles is EqualUnmodifiableListView) return _profiles; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_profiles); } @override final String? currentProfileId; @override final int columns; @override String toString() { return 'ProfilesSelectorState(profiles: $profiles, currentProfileId: $currentProfileId, columns: $columns)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProfilesSelectorStateImpl && const DeepCollectionEquality().equals(other._profiles, _profiles) && (identical(other.currentProfileId, currentProfileId) || other.currentProfileId == currentProfileId) && (identical(other.columns, columns) || other.columns == columns)); } @override int get hashCode => Object.hash( runtimeType, const DeepCollectionEquality().hash(_profiles), currentProfileId, columns); /// Create a copy of ProfilesSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ProfilesSelectorStateImplCopyWith<_$ProfilesSelectorStateImpl> get copyWith => __$$ProfilesSelectorStateImplCopyWithImpl< _$ProfilesSelectorStateImpl>(this, _$identity); } abstract class _ProfilesSelectorState implements ProfilesSelectorState { const factory _ProfilesSelectorState( {required final List profiles, required final String? currentProfileId, required final int columns}) = _$ProfilesSelectorStateImpl; @override List get profiles; @override String? get currentProfileId; @override int get columns; /// Create a copy of ProfilesSelectorState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ProfilesSelectorStateImplCopyWith<_$ProfilesSelectorStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$NetworkDetectionState { bool get isTesting => throw _privateConstructorUsedError; IpInfo? get ipInfo => throw _privateConstructorUsedError; /// Create a copy of NetworkDetectionState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $NetworkDetectionStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $NetworkDetectionStateCopyWith<$Res> { factory $NetworkDetectionStateCopyWith(NetworkDetectionState value, $Res Function(NetworkDetectionState) then) = _$NetworkDetectionStateCopyWithImpl<$Res, NetworkDetectionState>; @useResult $Res call({bool isTesting, IpInfo? ipInfo}); } /// @nodoc class _$NetworkDetectionStateCopyWithImpl<$Res, $Val extends NetworkDetectionState> implements $NetworkDetectionStateCopyWith<$Res> { _$NetworkDetectionStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of NetworkDetectionState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? isTesting = null, Object? ipInfo = freezed, }) { return _then(_value.copyWith( isTesting: null == isTesting ? _value.isTesting : isTesting // ignore: cast_nullable_to_non_nullable as bool, ipInfo: freezed == ipInfo ? _value.ipInfo : ipInfo // ignore: cast_nullable_to_non_nullable as IpInfo?, ) as $Val); } } /// @nodoc abstract class _$$NetworkDetectionStateImplCopyWith<$Res> implements $NetworkDetectionStateCopyWith<$Res> { factory _$$NetworkDetectionStateImplCopyWith( _$NetworkDetectionStateImpl value, $Res Function(_$NetworkDetectionStateImpl) then) = __$$NetworkDetectionStateImplCopyWithImpl<$Res>; @override @useResult $Res call({bool isTesting, IpInfo? ipInfo}); } /// @nodoc class __$$NetworkDetectionStateImplCopyWithImpl<$Res> extends _$NetworkDetectionStateCopyWithImpl<$Res, _$NetworkDetectionStateImpl> implements _$$NetworkDetectionStateImplCopyWith<$Res> { __$$NetworkDetectionStateImplCopyWithImpl(_$NetworkDetectionStateImpl _value, $Res Function(_$NetworkDetectionStateImpl) _then) : super(_value, _then); /// Create a copy of NetworkDetectionState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? isTesting = null, Object? ipInfo = freezed, }) { return _then(_$NetworkDetectionStateImpl( isTesting: null == isTesting ? _value.isTesting : isTesting // ignore: cast_nullable_to_non_nullable as bool, ipInfo: freezed == ipInfo ? _value.ipInfo : ipInfo // ignore: cast_nullable_to_non_nullable as IpInfo?, )); } } /// @nodoc class _$NetworkDetectionStateImpl implements _NetworkDetectionState { const _$NetworkDetectionStateImpl( {required this.isTesting, required this.ipInfo}); @override final bool isTesting; @override final IpInfo? ipInfo; @override String toString() { return 'NetworkDetectionState(isTesting: $isTesting, ipInfo: $ipInfo)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$NetworkDetectionStateImpl && (identical(other.isTesting, isTesting) || other.isTesting == isTesting) && (identical(other.ipInfo, ipInfo) || other.ipInfo == ipInfo)); } @override int get hashCode => Object.hash(runtimeType, isTesting, ipInfo); /// Create a copy of NetworkDetectionState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$NetworkDetectionStateImplCopyWith<_$NetworkDetectionStateImpl> get copyWith => __$$NetworkDetectionStateImplCopyWithImpl< _$NetworkDetectionStateImpl>(this, _$identity); } abstract class _NetworkDetectionState implements NetworkDetectionState { const factory _NetworkDetectionState( {required final bool isTesting, required final IpInfo? ipInfo}) = _$NetworkDetectionStateImpl; @override bool get isTesting; @override IpInfo? get ipInfo; /// Create a copy of NetworkDetectionState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$NetworkDetectionStateImplCopyWith<_$NetworkDetectionStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$ApplicationSelectorState { String? get locale => throw _privateConstructorUsedError; ThemeMode? get themeMode => throw _privateConstructorUsedError; int? get primaryColor => throw _privateConstructorUsedError; bool get prueBlack => throw _privateConstructorUsedError; FontFamily get fontFamily => throw _privateConstructorUsedError; /// Create a copy of ApplicationSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ApplicationSelectorStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ApplicationSelectorStateCopyWith<$Res> { factory $ApplicationSelectorStateCopyWith(ApplicationSelectorState value, $Res Function(ApplicationSelectorState) then) = _$ApplicationSelectorStateCopyWithImpl<$Res, ApplicationSelectorState>; @useResult $Res call( {String? locale, ThemeMode? themeMode, int? primaryColor, bool prueBlack, FontFamily fontFamily}); } /// @nodoc class _$ApplicationSelectorStateCopyWithImpl<$Res, $Val extends ApplicationSelectorState> implements $ApplicationSelectorStateCopyWith<$Res> { _$ApplicationSelectorStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ApplicationSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? locale = freezed, Object? themeMode = freezed, Object? primaryColor = freezed, Object? prueBlack = null, Object? fontFamily = null, }) { return _then(_value.copyWith( locale: freezed == locale ? _value.locale : locale // ignore: cast_nullable_to_non_nullable as String?, themeMode: freezed == themeMode ? _value.themeMode : themeMode // ignore: cast_nullable_to_non_nullable as ThemeMode?, primaryColor: freezed == primaryColor ? _value.primaryColor : primaryColor // ignore: cast_nullable_to_non_nullable as int?, prueBlack: null == prueBlack ? _value.prueBlack : prueBlack // ignore: cast_nullable_to_non_nullable as bool, fontFamily: null == fontFamily ? _value.fontFamily : fontFamily // ignore: cast_nullable_to_non_nullable as FontFamily, ) as $Val); } } /// @nodoc abstract class _$$ApplicationSelectorStateImplCopyWith<$Res> implements $ApplicationSelectorStateCopyWith<$Res> { factory _$$ApplicationSelectorStateImplCopyWith( _$ApplicationSelectorStateImpl value, $Res Function(_$ApplicationSelectorStateImpl) then) = __$$ApplicationSelectorStateImplCopyWithImpl<$Res>; @override @useResult $Res call( {String? locale, ThemeMode? themeMode, int? primaryColor, bool prueBlack, FontFamily fontFamily}); } /// @nodoc class __$$ApplicationSelectorStateImplCopyWithImpl<$Res> extends _$ApplicationSelectorStateCopyWithImpl<$Res, _$ApplicationSelectorStateImpl> implements _$$ApplicationSelectorStateImplCopyWith<$Res> { __$$ApplicationSelectorStateImplCopyWithImpl( _$ApplicationSelectorStateImpl _value, $Res Function(_$ApplicationSelectorStateImpl) _then) : super(_value, _then); /// Create a copy of ApplicationSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? locale = freezed, Object? themeMode = freezed, Object? primaryColor = freezed, Object? prueBlack = null, Object? fontFamily = null, }) { return _then(_$ApplicationSelectorStateImpl( locale: freezed == locale ? _value.locale : locale // ignore: cast_nullable_to_non_nullable as String?, themeMode: freezed == themeMode ? _value.themeMode : themeMode // ignore: cast_nullable_to_non_nullable as ThemeMode?, primaryColor: freezed == primaryColor ? _value.primaryColor : primaryColor // ignore: cast_nullable_to_non_nullable as int?, prueBlack: null == prueBlack ? _value.prueBlack : prueBlack // ignore: cast_nullable_to_non_nullable as bool, fontFamily: null == fontFamily ? _value.fontFamily : fontFamily // ignore: cast_nullable_to_non_nullable as FontFamily, )); } } /// @nodoc class _$ApplicationSelectorStateImpl implements _ApplicationSelectorState { const _$ApplicationSelectorStateImpl( {required this.locale, required this.themeMode, required this.primaryColor, required this.prueBlack, required this.fontFamily}); @override final String? locale; @override final ThemeMode? themeMode; @override final int? primaryColor; @override final bool prueBlack; @override final FontFamily fontFamily; @override String toString() { return 'ApplicationSelectorState(locale: $locale, themeMode: $themeMode, primaryColor: $primaryColor, prueBlack: $prueBlack, fontFamily: $fontFamily)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ApplicationSelectorStateImpl && (identical(other.locale, locale) || other.locale == locale) && (identical(other.themeMode, themeMode) || other.themeMode == themeMode) && (identical(other.primaryColor, primaryColor) || other.primaryColor == primaryColor) && (identical(other.prueBlack, prueBlack) || other.prueBlack == prueBlack) && (identical(other.fontFamily, fontFamily) || other.fontFamily == fontFamily)); } @override int get hashCode => Object.hash( runtimeType, locale, themeMode, primaryColor, prueBlack, fontFamily); /// Create a copy of ApplicationSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ApplicationSelectorStateImplCopyWith<_$ApplicationSelectorStateImpl> get copyWith => __$$ApplicationSelectorStateImplCopyWithImpl< _$ApplicationSelectorStateImpl>(this, _$identity); } abstract class _ApplicationSelectorState implements ApplicationSelectorState { const factory _ApplicationSelectorState( {required final String? locale, required final ThemeMode? themeMode, required final int? primaryColor, required final bool prueBlack, required final FontFamily fontFamily}) = _$ApplicationSelectorStateImpl; @override String? get locale; @override ThemeMode? get themeMode; @override int? get primaryColor; @override bool get prueBlack; @override FontFamily get fontFamily; /// Create a copy of ApplicationSelectorState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ApplicationSelectorStateImplCopyWith<_$ApplicationSelectorStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$TrayState { Mode get mode => throw _privateConstructorUsedError; int get port => throw _privateConstructorUsedError; bool get autoLaunch => throw _privateConstructorUsedError; bool get systemProxy => throw _privateConstructorUsedError; bool get tunEnable => throw _privateConstructorUsedError; bool get isStart => throw _privateConstructorUsedError; String? get locale => throw _privateConstructorUsedError; Brightness? get brightness => throw _privateConstructorUsedError; List get groups => throw _privateConstructorUsedError; Map get map => throw _privateConstructorUsedError; /// Create a copy of TrayState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $TrayStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $TrayStateCopyWith<$Res> { factory $TrayStateCopyWith(TrayState value, $Res Function(TrayState) then) = _$TrayStateCopyWithImpl<$Res, TrayState>; @useResult $Res call( {Mode mode, int port, bool autoLaunch, bool systemProxy, bool tunEnable, bool isStart, String? locale, Brightness? brightness, List groups, Map map}); } /// @nodoc class _$TrayStateCopyWithImpl<$Res, $Val extends TrayState> implements $TrayStateCopyWith<$Res> { _$TrayStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of TrayState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? mode = null, Object? port = null, Object? autoLaunch = null, Object? systemProxy = null, Object? tunEnable = null, Object? isStart = null, Object? locale = freezed, Object? brightness = freezed, Object? groups = null, Object? map = null, }) { return _then(_value.copyWith( mode: null == mode ? _value.mode : mode // ignore: cast_nullable_to_non_nullable as Mode, port: null == port ? _value.port : port // ignore: cast_nullable_to_non_nullable as int, autoLaunch: null == autoLaunch ? _value.autoLaunch : autoLaunch // ignore: cast_nullable_to_non_nullable as bool, systemProxy: null == systemProxy ? _value.systemProxy : systemProxy // ignore: cast_nullable_to_non_nullable as bool, tunEnable: null == tunEnable ? _value.tunEnable : tunEnable // ignore: cast_nullable_to_non_nullable as bool, isStart: null == isStart ? _value.isStart : isStart // ignore: cast_nullable_to_non_nullable as bool, locale: freezed == locale ? _value.locale : locale // ignore: cast_nullable_to_non_nullable as String?, brightness: freezed == brightness ? _value.brightness : brightness // ignore: cast_nullable_to_non_nullable as Brightness?, groups: null == groups ? _value.groups : groups // ignore: cast_nullable_to_non_nullable as List, map: null == map ? _value.map : map // ignore: cast_nullable_to_non_nullable as Map, ) as $Val); } } /// @nodoc abstract class _$$TrayStateImplCopyWith<$Res> implements $TrayStateCopyWith<$Res> { factory _$$TrayStateImplCopyWith( _$TrayStateImpl value, $Res Function(_$TrayStateImpl) then) = __$$TrayStateImplCopyWithImpl<$Res>; @override @useResult $Res call( {Mode mode, int port, bool autoLaunch, bool systemProxy, bool tunEnable, bool isStart, String? locale, Brightness? brightness, List groups, Map map}); } /// @nodoc class __$$TrayStateImplCopyWithImpl<$Res> extends _$TrayStateCopyWithImpl<$Res, _$TrayStateImpl> implements _$$TrayStateImplCopyWith<$Res> { __$$TrayStateImplCopyWithImpl( _$TrayStateImpl _value, $Res Function(_$TrayStateImpl) _then) : super(_value, _then); /// Create a copy of TrayState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? mode = null, Object? port = null, Object? autoLaunch = null, Object? systemProxy = null, Object? tunEnable = null, Object? isStart = null, Object? locale = freezed, Object? brightness = freezed, Object? groups = null, Object? map = null, }) { return _then(_$TrayStateImpl( mode: null == mode ? _value.mode : mode // ignore: cast_nullable_to_non_nullable as Mode, port: null == port ? _value.port : port // ignore: cast_nullable_to_non_nullable as int, autoLaunch: null == autoLaunch ? _value.autoLaunch : autoLaunch // ignore: cast_nullable_to_non_nullable as bool, systemProxy: null == systemProxy ? _value.systemProxy : systemProxy // ignore: cast_nullable_to_non_nullable as bool, tunEnable: null == tunEnable ? _value.tunEnable : tunEnable // ignore: cast_nullable_to_non_nullable as bool, isStart: null == isStart ? _value.isStart : isStart // ignore: cast_nullable_to_non_nullable as bool, locale: freezed == locale ? _value.locale : locale // ignore: cast_nullable_to_non_nullable as String?, brightness: freezed == brightness ? _value.brightness : brightness // ignore: cast_nullable_to_non_nullable as Brightness?, groups: null == groups ? _value._groups : groups // ignore: cast_nullable_to_non_nullable as List, map: null == map ? _value._map : map // ignore: cast_nullable_to_non_nullable as Map, )); } } /// @nodoc class _$TrayStateImpl implements _TrayState { const _$TrayStateImpl( {required this.mode, required this.port, required this.autoLaunch, required this.systemProxy, required this.tunEnable, required this.isStart, required this.locale, required this.brightness, required final List groups, required final Map map}) : _groups = groups, _map = map; @override final Mode mode; @override final int port; @override final bool autoLaunch; @override final bool systemProxy; @override final bool tunEnable; @override final bool isStart; @override final String? locale; @override final Brightness? brightness; final List _groups; @override List get groups { if (_groups is EqualUnmodifiableListView) return _groups; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_groups); } final Map _map; @override Map get map { if (_map is EqualUnmodifiableMapView) return _map; // ignore: implicit_dynamic_type return EqualUnmodifiableMapView(_map); } @override String toString() { return 'TrayState(mode: $mode, port: $port, autoLaunch: $autoLaunch, systemProxy: $systemProxy, tunEnable: $tunEnable, isStart: $isStart, locale: $locale, brightness: $brightness, groups: $groups, map: $map)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TrayStateImpl && (identical(other.mode, mode) || other.mode == mode) && (identical(other.port, port) || other.port == port) && (identical(other.autoLaunch, autoLaunch) || other.autoLaunch == autoLaunch) && (identical(other.systemProxy, systemProxy) || other.systemProxy == systemProxy) && (identical(other.tunEnable, tunEnable) || other.tunEnable == tunEnable) && (identical(other.isStart, isStart) || other.isStart == isStart) && (identical(other.locale, locale) || other.locale == locale) && (identical(other.brightness, brightness) || other.brightness == brightness) && const DeepCollectionEquality().equals(other._groups, _groups) && const DeepCollectionEquality().equals(other._map, _map)); } @override int get hashCode => Object.hash( runtimeType, mode, port, autoLaunch, systemProxy, tunEnable, isStart, locale, brightness, const DeepCollectionEquality().hash(_groups), const DeepCollectionEquality().hash(_map)); /// Create a copy of TrayState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$TrayStateImplCopyWith<_$TrayStateImpl> get copyWith => __$$TrayStateImplCopyWithImpl<_$TrayStateImpl>(this, _$identity); } abstract class _TrayState implements TrayState { const factory _TrayState( {required final Mode mode, required final int port, required final bool autoLaunch, required final bool systemProxy, required final bool tunEnable, required final bool isStart, required final String? locale, required final Brightness? brightness, required final List groups, required final Map map}) = _$TrayStateImpl; @override Mode get mode; @override int get port; @override bool get autoLaunch; @override bool get systemProxy; @override bool get tunEnable; @override bool get isStart; @override String? get locale; @override Brightness? get brightness; @override List get groups; @override Map get map; /// Create a copy of TrayState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$TrayStateImplCopyWith<_$TrayStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$UpdateNavigationsSelector { bool get openLogs => throw _privateConstructorUsedError; bool get hasProxies => throw _privateConstructorUsedError; /// Create a copy of UpdateNavigationsSelector /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $UpdateNavigationsSelectorCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $UpdateNavigationsSelectorCopyWith<$Res> { factory $UpdateNavigationsSelectorCopyWith(UpdateNavigationsSelector value, $Res Function(UpdateNavigationsSelector) then) = _$UpdateNavigationsSelectorCopyWithImpl<$Res, UpdateNavigationsSelector>; @useResult $Res call({bool openLogs, bool hasProxies}); } /// @nodoc class _$UpdateNavigationsSelectorCopyWithImpl<$Res, $Val extends UpdateNavigationsSelector> implements $UpdateNavigationsSelectorCopyWith<$Res> { _$UpdateNavigationsSelectorCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of UpdateNavigationsSelector /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? openLogs = null, Object? hasProxies = null, }) { return _then(_value.copyWith( openLogs: null == openLogs ? _value.openLogs : openLogs // ignore: cast_nullable_to_non_nullable as bool, hasProxies: null == hasProxies ? _value.hasProxies : hasProxies // ignore: cast_nullable_to_non_nullable as bool, ) as $Val); } } /// @nodoc abstract class _$$UpdateNavigationsSelectorImplCopyWith<$Res> implements $UpdateNavigationsSelectorCopyWith<$Res> { factory _$$UpdateNavigationsSelectorImplCopyWith( _$UpdateNavigationsSelectorImpl value, $Res Function(_$UpdateNavigationsSelectorImpl) then) = __$$UpdateNavigationsSelectorImplCopyWithImpl<$Res>; @override @useResult $Res call({bool openLogs, bool hasProxies}); } /// @nodoc class __$$UpdateNavigationsSelectorImplCopyWithImpl<$Res> extends _$UpdateNavigationsSelectorCopyWithImpl<$Res, _$UpdateNavigationsSelectorImpl> implements _$$UpdateNavigationsSelectorImplCopyWith<$Res> { __$$UpdateNavigationsSelectorImplCopyWithImpl( _$UpdateNavigationsSelectorImpl _value, $Res Function(_$UpdateNavigationsSelectorImpl) _then) : super(_value, _then); /// Create a copy of UpdateNavigationsSelector /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? openLogs = null, Object? hasProxies = null, }) { return _then(_$UpdateNavigationsSelectorImpl( openLogs: null == openLogs ? _value.openLogs : openLogs // ignore: cast_nullable_to_non_nullable as bool, hasProxies: null == hasProxies ? _value.hasProxies : hasProxies // ignore: cast_nullable_to_non_nullable as bool, )); } } /// @nodoc class _$UpdateNavigationsSelectorImpl implements _UpdateNavigationsSelector { const _$UpdateNavigationsSelectorImpl( {required this.openLogs, required this.hasProxies}); @override final bool openLogs; @override final bool hasProxies; @override String toString() { return 'UpdateNavigationsSelector(openLogs: $openLogs, hasProxies: $hasProxies)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$UpdateNavigationsSelectorImpl && (identical(other.openLogs, openLogs) || other.openLogs == openLogs) && (identical(other.hasProxies, hasProxies) || other.hasProxies == hasProxies)); } @override int get hashCode => Object.hash(runtimeType, openLogs, hasProxies); /// Create a copy of UpdateNavigationsSelector /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$UpdateNavigationsSelectorImplCopyWith<_$UpdateNavigationsSelectorImpl> get copyWith => __$$UpdateNavigationsSelectorImplCopyWithImpl< _$UpdateNavigationsSelectorImpl>(this, _$identity); } abstract class _UpdateNavigationsSelector implements UpdateNavigationsSelector { const factory _UpdateNavigationsSelector( {required final bool openLogs, required final bool hasProxies}) = _$UpdateNavigationsSelectorImpl; @override bool get openLogs; @override bool get hasProxies; /// Create a copy of UpdateNavigationsSelector /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$UpdateNavigationsSelectorImplCopyWith<_$UpdateNavigationsSelectorImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$HomeState { String get currentLabel => throw _privateConstructorUsedError; List get navigationItems => throw _privateConstructorUsedError; ViewMode get viewMode => throw _privateConstructorUsedError; String? get locale => throw _privateConstructorUsedError; /// Create a copy of HomeState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $HomeStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $HomeStateCopyWith<$Res> { factory $HomeStateCopyWith(HomeState value, $Res Function(HomeState) then) = _$HomeStateCopyWithImpl<$Res, HomeState>; @useResult $Res call( {String currentLabel, List navigationItems, ViewMode viewMode, String? locale}); } /// @nodoc class _$HomeStateCopyWithImpl<$Res, $Val extends HomeState> implements $HomeStateCopyWith<$Res> { _$HomeStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of HomeState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? currentLabel = null, Object? navigationItems = null, Object? viewMode = null, Object? locale = freezed, }) { return _then(_value.copyWith( currentLabel: null == currentLabel ? _value.currentLabel : currentLabel // ignore: cast_nullable_to_non_nullable as String, navigationItems: null == navigationItems ? _value.navigationItems : navigationItems // ignore: cast_nullable_to_non_nullable as List, viewMode: null == viewMode ? _value.viewMode : viewMode // ignore: cast_nullable_to_non_nullable as ViewMode, locale: freezed == locale ? _value.locale : locale // ignore: cast_nullable_to_non_nullable as String?, ) as $Val); } } /// @nodoc abstract class _$$HomeStateImplCopyWith<$Res> implements $HomeStateCopyWith<$Res> { factory _$$HomeStateImplCopyWith( _$HomeStateImpl value, $Res Function(_$HomeStateImpl) then) = __$$HomeStateImplCopyWithImpl<$Res>; @override @useResult $Res call( {String currentLabel, List navigationItems, ViewMode viewMode, String? locale}); } /// @nodoc class __$$HomeStateImplCopyWithImpl<$Res> extends _$HomeStateCopyWithImpl<$Res, _$HomeStateImpl> implements _$$HomeStateImplCopyWith<$Res> { __$$HomeStateImplCopyWithImpl( _$HomeStateImpl _value, $Res Function(_$HomeStateImpl) _then) : super(_value, _then); /// Create a copy of HomeState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? currentLabel = null, Object? navigationItems = null, Object? viewMode = null, Object? locale = freezed, }) { return _then(_$HomeStateImpl( currentLabel: null == currentLabel ? _value.currentLabel : currentLabel // ignore: cast_nullable_to_non_nullable as String, navigationItems: null == navigationItems ? _value._navigationItems : navigationItems // ignore: cast_nullable_to_non_nullable as List, viewMode: null == viewMode ? _value.viewMode : viewMode // ignore: cast_nullable_to_non_nullable as ViewMode, locale: freezed == locale ? _value.locale : locale // ignore: cast_nullable_to_non_nullable as String?, )); } } /// @nodoc class _$HomeStateImpl implements _HomeState { const _$HomeStateImpl( {required this.currentLabel, required final List navigationItems, required this.viewMode, required this.locale}) : _navigationItems = navigationItems; @override final String currentLabel; final List _navigationItems; @override List get navigationItems { if (_navigationItems is EqualUnmodifiableListView) return _navigationItems; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_navigationItems); } @override final ViewMode viewMode; @override final String? locale; @override String toString() { return 'HomeState(currentLabel: $currentLabel, navigationItems: $navigationItems, viewMode: $viewMode, locale: $locale)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$HomeStateImpl && (identical(other.currentLabel, currentLabel) || other.currentLabel == currentLabel) && const DeepCollectionEquality() .equals(other._navigationItems, _navigationItems) && (identical(other.viewMode, viewMode) || other.viewMode == viewMode) && (identical(other.locale, locale) || other.locale == locale)); } @override int get hashCode => Object.hash(runtimeType, currentLabel, const DeepCollectionEquality().hash(_navigationItems), viewMode, locale); /// Create a copy of HomeState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$HomeStateImplCopyWith<_$HomeStateImpl> get copyWith => __$$HomeStateImplCopyWithImpl<_$HomeStateImpl>(this, _$identity); } abstract class _HomeState implements HomeState { const factory _HomeState( {required final String currentLabel, required final List navigationItems, required final ViewMode viewMode, required final String? locale}) = _$HomeStateImpl; @override String get currentLabel; @override List get navigationItems; @override ViewMode get viewMode; @override String? get locale; /// Create a copy of HomeState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$HomeStateImplCopyWith<_$HomeStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$ProxiesCardSelectorState { bool get isSelected => throw _privateConstructorUsedError; /// Create a copy of ProxiesCardSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ProxiesCardSelectorStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProxiesCardSelectorStateCopyWith<$Res> { factory $ProxiesCardSelectorStateCopyWith(ProxiesCardSelectorState value, $Res Function(ProxiesCardSelectorState) then) = _$ProxiesCardSelectorStateCopyWithImpl<$Res, ProxiesCardSelectorState>; @useResult $Res call({bool isSelected}); } /// @nodoc class _$ProxiesCardSelectorStateCopyWithImpl<$Res, $Val extends ProxiesCardSelectorState> implements $ProxiesCardSelectorStateCopyWith<$Res> { _$ProxiesCardSelectorStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ProxiesCardSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? isSelected = null, }) { return _then(_value.copyWith( isSelected: null == isSelected ? _value.isSelected : isSelected // ignore: cast_nullable_to_non_nullable as bool, ) as $Val); } } /// @nodoc abstract class _$$ProxiesCardSelectorStateImplCopyWith<$Res> implements $ProxiesCardSelectorStateCopyWith<$Res> { factory _$$ProxiesCardSelectorStateImplCopyWith( _$ProxiesCardSelectorStateImpl value, $Res Function(_$ProxiesCardSelectorStateImpl) then) = __$$ProxiesCardSelectorStateImplCopyWithImpl<$Res>; @override @useResult $Res call({bool isSelected}); } /// @nodoc class __$$ProxiesCardSelectorStateImplCopyWithImpl<$Res> extends _$ProxiesCardSelectorStateCopyWithImpl<$Res, _$ProxiesCardSelectorStateImpl> implements _$$ProxiesCardSelectorStateImplCopyWith<$Res> { __$$ProxiesCardSelectorStateImplCopyWithImpl( _$ProxiesCardSelectorStateImpl _value, $Res Function(_$ProxiesCardSelectorStateImpl) _then) : super(_value, _then); /// Create a copy of ProxiesCardSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? isSelected = null, }) { return _then(_$ProxiesCardSelectorStateImpl( isSelected: null == isSelected ? _value.isSelected : isSelected // ignore: cast_nullable_to_non_nullable as bool, )); } } /// @nodoc class _$ProxiesCardSelectorStateImpl implements _ProxiesCardSelectorState { const _$ProxiesCardSelectorStateImpl({required this.isSelected}); @override final bool isSelected; @override String toString() { return 'ProxiesCardSelectorState(isSelected: $isSelected)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProxiesCardSelectorStateImpl && (identical(other.isSelected, isSelected) || other.isSelected == isSelected)); } @override int get hashCode => Object.hash(runtimeType, isSelected); /// Create a copy of ProxiesCardSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ProxiesCardSelectorStateImplCopyWith<_$ProxiesCardSelectorStateImpl> get copyWith => __$$ProxiesCardSelectorStateImplCopyWithImpl< _$ProxiesCardSelectorStateImpl>(this, _$identity); } abstract class _ProxiesCardSelectorState implements ProxiesCardSelectorState { const factory _ProxiesCardSelectorState({required final bool isSelected}) = _$ProxiesCardSelectorStateImpl; @override bool get isSelected; /// Create a copy of ProxiesCardSelectorState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ProxiesCardSelectorStateImplCopyWith<_$ProxiesCardSelectorStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$ProxiesSelectorState { List get groupNames => throw _privateConstructorUsedError; String? get currentGroupName => throw _privateConstructorUsedError; /// Create a copy of ProxiesSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ProxiesSelectorStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProxiesSelectorStateCopyWith<$Res> { factory $ProxiesSelectorStateCopyWith(ProxiesSelectorState value, $Res Function(ProxiesSelectorState) then) = _$ProxiesSelectorStateCopyWithImpl<$Res, ProxiesSelectorState>; @useResult $Res call({List groupNames, String? currentGroupName}); } /// @nodoc class _$ProxiesSelectorStateCopyWithImpl<$Res, $Val extends ProxiesSelectorState> implements $ProxiesSelectorStateCopyWith<$Res> { _$ProxiesSelectorStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ProxiesSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? groupNames = null, Object? currentGroupName = freezed, }) { return _then(_value.copyWith( groupNames: null == groupNames ? _value.groupNames : groupNames // ignore: cast_nullable_to_non_nullable as List, currentGroupName: freezed == currentGroupName ? _value.currentGroupName : currentGroupName // ignore: cast_nullable_to_non_nullable as String?, ) as $Val); } } /// @nodoc abstract class _$$ProxiesSelectorStateImplCopyWith<$Res> implements $ProxiesSelectorStateCopyWith<$Res> { factory _$$ProxiesSelectorStateImplCopyWith(_$ProxiesSelectorStateImpl value, $Res Function(_$ProxiesSelectorStateImpl) then) = __$$ProxiesSelectorStateImplCopyWithImpl<$Res>; @override @useResult $Res call({List groupNames, String? currentGroupName}); } /// @nodoc class __$$ProxiesSelectorStateImplCopyWithImpl<$Res> extends _$ProxiesSelectorStateCopyWithImpl<$Res, _$ProxiesSelectorStateImpl> implements _$$ProxiesSelectorStateImplCopyWith<$Res> { __$$ProxiesSelectorStateImplCopyWithImpl(_$ProxiesSelectorStateImpl _value, $Res Function(_$ProxiesSelectorStateImpl) _then) : super(_value, _then); /// Create a copy of ProxiesSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? groupNames = null, Object? currentGroupName = freezed, }) { return _then(_$ProxiesSelectorStateImpl( groupNames: null == groupNames ? _value._groupNames : groupNames // ignore: cast_nullable_to_non_nullable as List, currentGroupName: freezed == currentGroupName ? _value.currentGroupName : currentGroupName // ignore: cast_nullable_to_non_nullable as String?, )); } } /// @nodoc class _$ProxiesSelectorStateImpl implements _ProxiesSelectorState { const _$ProxiesSelectorStateImpl( {required final List groupNames, required this.currentGroupName}) : _groupNames = groupNames; final List _groupNames; @override List get groupNames { if (_groupNames is EqualUnmodifiableListView) return _groupNames; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_groupNames); } @override final String? currentGroupName; @override String toString() { return 'ProxiesSelectorState(groupNames: $groupNames, currentGroupName: $currentGroupName)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProxiesSelectorStateImpl && const DeepCollectionEquality() .equals(other._groupNames, _groupNames) && (identical(other.currentGroupName, currentGroupName) || other.currentGroupName == currentGroupName)); } @override int get hashCode => Object.hash(runtimeType, const DeepCollectionEquality().hash(_groupNames), currentGroupName); /// Create a copy of ProxiesSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ProxiesSelectorStateImplCopyWith<_$ProxiesSelectorStateImpl> get copyWith => __$$ProxiesSelectorStateImplCopyWithImpl<_$ProxiesSelectorStateImpl>( this, _$identity); } abstract class _ProxiesSelectorState implements ProxiesSelectorState { const factory _ProxiesSelectorState( {required final List groupNames, required final String? currentGroupName}) = _$ProxiesSelectorStateImpl; @override List get groupNames; @override String? get currentGroupName; /// Create a copy of ProxiesSelectorState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ProxiesSelectorStateImplCopyWith<_$ProxiesSelectorStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$ProxiesListSelectorState { List get groupNames => throw _privateConstructorUsedError; Set get currentUnfoldSet => throw _privateConstructorUsedError; ProxiesSortType get proxiesSortType => throw _privateConstructorUsedError; ProxyCardType get proxyCardType => throw _privateConstructorUsedError; num get sortNum => throw _privateConstructorUsedError; int get columns => throw _privateConstructorUsedError; /// Create a copy of ProxiesListSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ProxiesListSelectorStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProxiesListSelectorStateCopyWith<$Res> { factory $ProxiesListSelectorStateCopyWith(ProxiesListSelectorState value, $Res Function(ProxiesListSelectorState) then) = _$ProxiesListSelectorStateCopyWithImpl<$Res, ProxiesListSelectorState>; @useResult $Res call( {List groupNames, Set currentUnfoldSet, ProxiesSortType proxiesSortType, ProxyCardType proxyCardType, num sortNum, int columns}); } /// @nodoc class _$ProxiesListSelectorStateCopyWithImpl<$Res, $Val extends ProxiesListSelectorState> implements $ProxiesListSelectorStateCopyWith<$Res> { _$ProxiesListSelectorStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ProxiesListSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? groupNames = null, Object? currentUnfoldSet = null, Object? proxiesSortType = null, Object? proxyCardType = null, Object? sortNum = null, Object? columns = null, }) { return _then(_value.copyWith( groupNames: null == groupNames ? _value.groupNames : groupNames // ignore: cast_nullable_to_non_nullable as List, currentUnfoldSet: null == currentUnfoldSet ? _value.currentUnfoldSet : currentUnfoldSet // ignore: cast_nullable_to_non_nullable as Set, proxiesSortType: null == proxiesSortType ? _value.proxiesSortType : proxiesSortType // ignore: cast_nullable_to_non_nullable as ProxiesSortType, proxyCardType: null == proxyCardType ? _value.proxyCardType : proxyCardType // ignore: cast_nullable_to_non_nullable as ProxyCardType, sortNum: null == sortNum ? _value.sortNum : sortNum // ignore: cast_nullable_to_non_nullable as num, columns: null == columns ? _value.columns : columns // ignore: cast_nullable_to_non_nullable as int, ) as $Val); } } /// @nodoc abstract class _$$ProxiesListSelectorStateImplCopyWith<$Res> implements $ProxiesListSelectorStateCopyWith<$Res> { factory _$$ProxiesListSelectorStateImplCopyWith( _$ProxiesListSelectorStateImpl value, $Res Function(_$ProxiesListSelectorStateImpl) then) = __$$ProxiesListSelectorStateImplCopyWithImpl<$Res>; @override @useResult $Res call( {List groupNames, Set currentUnfoldSet, ProxiesSortType proxiesSortType, ProxyCardType proxyCardType, num sortNum, int columns}); } /// @nodoc class __$$ProxiesListSelectorStateImplCopyWithImpl<$Res> extends _$ProxiesListSelectorStateCopyWithImpl<$Res, _$ProxiesListSelectorStateImpl> implements _$$ProxiesListSelectorStateImplCopyWith<$Res> { __$$ProxiesListSelectorStateImplCopyWithImpl( _$ProxiesListSelectorStateImpl _value, $Res Function(_$ProxiesListSelectorStateImpl) _then) : super(_value, _then); /// Create a copy of ProxiesListSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? groupNames = null, Object? currentUnfoldSet = null, Object? proxiesSortType = null, Object? proxyCardType = null, Object? sortNum = null, Object? columns = null, }) { return _then(_$ProxiesListSelectorStateImpl( groupNames: null == groupNames ? _value._groupNames : groupNames // ignore: cast_nullable_to_non_nullable as List, currentUnfoldSet: null == currentUnfoldSet ? _value._currentUnfoldSet : currentUnfoldSet // ignore: cast_nullable_to_non_nullable as Set, proxiesSortType: null == proxiesSortType ? _value.proxiesSortType : proxiesSortType // ignore: cast_nullable_to_non_nullable as ProxiesSortType, proxyCardType: null == proxyCardType ? _value.proxyCardType : proxyCardType // ignore: cast_nullable_to_non_nullable as ProxyCardType, sortNum: null == sortNum ? _value.sortNum : sortNum // ignore: cast_nullable_to_non_nullable as num, columns: null == columns ? _value.columns : columns // ignore: cast_nullable_to_non_nullable as int, )); } } /// @nodoc class _$ProxiesListSelectorStateImpl implements _ProxiesListSelectorState { const _$ProxiesListSelectorStateImpl( {required final List groupNames, required final Set currentUnfoldSet, required this.proxiesSortType, required this.proxyCardType, required this.sortNum, required this.columns}) : _groupNames = groupNames, _currentUnfoldSet = currentUnfoldSet; final List _groupNames; @override List get groupNames { if (_groupNames is EqualUnmodifiableListView) return _groupNames; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_groupNames); } final Set _currentUnfoldSet; @override Set get currentUnfoldSet { if (_currentUnfoldSet is EqualUnmodifiableSetView) return _currentUnfoldSet; // ignore: implicit_dynamic_type return EqualUnmodifiableSetView(_currentUnfoldSet); } @override final ProxiesSortType proxiesSortType; @override final ProxyCardType proxyCardType; @override final num sortNum; @override final int columns; @override String toString() { return 'ProxiesListSelectorState(groupNames: $groupNames, currentUnfoldSet: $currentUnfoldSet, proxiesSortType: $proxiesSortType, proxyCardType: $proxyCardType, sortNum: $sortNum, columns: $columns)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProxiesListSelectorStateImpl && const DeepCollectionEquality() .equals(other._groupNames, _groupNames) && const DeepCollectionEquality() .equals(other._currentUnfoldSet, _currentUnfoldSet) && (identical(other.proxiesSortType, proxiesSortType) || other.proxiesSortType == proxiesSortType) && (identical(other.proxyCardType, proxyCardType) || other.proxyCardType == proxyCardType) && (identical(other.sortNum, sortNum) || other.sortNum == sortNum) && (identical(other.columns, columns) || other.columns == columns)); } @override int get hashCode => Object.hash( runtimeType, const DeepCollectionEquality().hash(_groupNames), const DeepCollectionEquality().hash(_currentUnfoldSet), proxiesSortType, proxyCardType, sortNum, columns); /// Create a copy of ProxiesListSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ProxiesListSelectorStateImplCopyWith<_$ProxiesListSelectorStateImpl> get copyWith => __$$ProxiesListSelectorStateImplCopyWithImpl< _$ProxiesListSelectorStateImpl>(this, _$identity); } abstract class _ProxiesListSelectorState implements ProxiesListSelectorState { const factory _ProxiesListSelectorState( {required final List groupNames, required final Set currentUnfoldSet, required final ProxiesSortType proxiesSortType, required final ProxyCardType proxyCardType, required final num sortNum, required final int columns}) = _$ProxiesListSelectorStateImpl; @override List get groupNames; @override Set get currentUnfoldSet; @override ProxiesSortType get proxiesSortType; @override ProxyCardType get proxyCardType; @override num get sortNum; @override int get columns; /// Create a copy of ProxiesListSelectorState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ProxiesListSelectorStateImplCopyWith<_$ProxiesListSelectorStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$ProxyGroupSelectorState { String? get testUrl => throw _privateConstructorUsedError; ProxiesSortType get proxiesSortType => throw _privateConstructorUsedError; ProxyCardType get proxyCardType => throw _privateConstructorUsedError; num get sortNum => throw _privateConstructorUsedError; GroupType get groupType => throw _privateConstructorUsedError; List get proxies => throw _privateConstructorUsedError; int get columns => throw _privateConstructorUsedError; /// Create a copy of ProxyGroupSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ProxyGroupSelectorStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProxyGroupSelectorStateCopyWith<$Res> { factory $ProxyGroupSelectorStateCopyWith(ProxyGroupSelectorState value, $Res Function(ProxyGroupSelectorState) then) = _$ProxyGroupSelectorStateCopyWithImpl<$Res, ProxyGroupSelectorState>; @useResult $Res call( {String? testUrl, ProxiesSortType proxiesSortType, ProxyCardType proxyCardType, num sortNum, GroupType groupType, List proxies, int columns}); } /// @nodoc class _$ProxyGroupSelectorStateCopyWithImpl<$Res, $Val extends ProxyGroupSelectorState> implements $ProxyGroupSelectorStateCopyWith<$Res> { _$ProxyGroupSelectorStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ProxyGroupSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? testUrl = freezed, Object? proxiesSortType = null, Object? proxyCardType = null, Object? sortNum = null, Object? groupType = null, Object? proxies = null, Object? columns = null, }) { return _then(_value.copyWith( testUrl: freezed == testUrl ? _value.testUrl : testUrl // ignore: cast_nullable_to_non_nullable as String?, proxiesSortType: null == proxiesSortType ? _value.proxiesSortType : proxiesSortType // ignore: cast_nullable_to_non_nullable as ProxiesSortType, proxyCardType: null == proxyCardType ? _value.proxyCardType : proxyCardType // ignore: cast_nullable_to_non_nullable as ProxyCardType, sortNum: null == sortNum ? _value.sortNum : sortNum // ignore: cast_nullable_to_non_nullable as num, groupType: null == groupType ? _value.groupType : groupType // ignore: cast_nullable_to_non_nullable as GroupType, proxies: null == proxies ? _value.proxies : proxies // ignore: cast_nullable_to_non_nullable as List, columns: null == columns ? _value.columns : columns // ignore: cast_nullable_to_non_nullable as int, ) as $Val); } } /// @nodoc abstract class _$$ProxyGroupSelectorStateImplCopyWith<$Res> implements $ProxyGroupSelectorStateCopyWith<$Res> { factory _$$ProxyGroupSelectorStateImplCopyWith( _$ProxyGroupSelectorStateImpl value, $Res Function(_$ProxyGroupSelectorStateImpl) then) = __$$ProxyGroupSelectorStateImplCopyWithImpl<$Res>; @override @useResult $Res call( {String? testUrl, ProxiesSortType proxiesSortType, ProxyCardType proxyCardType, num sortNum, GroupType groupType, List proxies, int columns}); } /// @nodoc class __$$ProxyGroupSelectorStateImplCopyWithImpl<$Res> extends _$ProxyGroupSelectorStateCopyWithImpl<$Res, _$ProxyGroupSelectorStateImpl> implements _$$ProxyGroupSelectorStateImplCopyWith<$Res> { __$$ProxyGroupSelectorStateImplCopyWithImpl( _$ProxyGroupSelectorStateImpl _value, $Res Function(_$ProxyGroupSelectorStateImpl) _then) : super(_value, _then); /// Create a copy of ProxyGroupSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? testUrl = freezed, Object? proxiesSortType = null, Object? proxyCardType = null, Object? sortNum = null, Object? groupType = null, Object? proxies = null, Object? columns = null, }) { return _then(_$ProxyGroupSelectorStateImpl( testUrl: freezed == testUrl ? _value.testUrl : testUrl // ignore: cast_nullable_to_non_nullable as String?, proxiesSortType: null == proxiesSortType ? _value.proxiesSortType : proxiesSortType // ignore: cast_nullable_to_non_nullable as ProxiesSortType, proxyCardType: null == proxyCardType ? _value.proxyCardType : proxyCardType // ignore: cast_nullable_to_non_nullable as ProxyCardType, sortNum: null == sortNum ? _value.sortNum : sortNum // ignore: cast_nullable_to_non_nullable as num, groupType: null == groupType ? _value.groupType : groupType // ignore: cast_nullable_to_non_nullable as GroupType, proxies: null == proxies ? _value._proxies : proxies // ignore: cast_nullable_to_non_nullable as List, columns: null == columns ? _value.columns : columns // ignore: cast_nullable_to_non_nullable as int, )); } } /// @nodoc class _$ProxyGroupSelectorStateImpl implements _ProxyGroupSelectorState { const _$ProxyGroupSelectorStateImpl( {required this.testUrl, required this.proxiesSortType, required this.proxyCardType, required this.sortNum, required this.groupType, required final List proxies, required this.columns}) : _proxies = proxies; @override final String? testUrl; @override final ProxiesSortType proxiesSortType; @override final ProxyCardType proxyCardType; @override final num sortNum; @override final GroupType groupType; final List _proxies; @override List get proxies { if (_proxies is EqualUnmodifiableListView) return _proxies; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_proxies); } @override final int columns; @override String toString() { return 'ProxyGroupSelectorState(testUrl: $testUrl, proxiesSortType: $proxiesSortType, proxyCardType: $proxyCardType, sortNum: $sortNum, groupType: $groupType, proxies: $proxies, columns: $columns)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProxyGroupSelectorStateImpl && (identical(other.testUrl, testUrl) || other.testUrl == testUrl) && (identical(other.proxiesSortType, proxiesSortType) || other.proxiesSortType == proxiesSortType) && (identical(other.proxyCardType, proxyCardType) || other.proxyCardType == proxyCardType) && (identical(other.sortNum, sortNum) || other.sortNum == sortNum) && (identical(other.groupType, groupType) || other.groupType == groupType) && const DeepCollectionEquality().equals(other._proxies, _proxies) && (identical(other.columns, columns) || other.columns == columns)); } @override int get hashCode => Object.hash( runtimeType, testUrl, proxiesSortType, proxyCardType, sortNum, groupType, const DeepCollectionEquality().hash(_proxies), columns); /// Create a copy of ProxyGroupSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ProxyGroupSelectorStateImplCopyWith<_$ProxyGroupSelectorStateImpl> get copyWith => __$$ProxyGroupSelectorStateImplCopyWithImpl< _$ProxyGroupSelectorStateImpl>(this, _$identity); } abstract class _ProxyGroupSelectorState implements ProxyGroupSelectorState { const factory _ProxyGroupSelectorState( {required final String? testUrl, required final ProxiesSortType proxiesSortType, required final ProxyCardType proxyCardType, required final num sortNum, required final GroupType groupType, required final List proxies, required final int columns}) = _$ProxyGroupSelectorStateImpl; @override String? get testUrl; @override ProxiesSortType get proxiesSortType; @override ProxyCardType get proxyCardType; @override num get sortNum; @override GroupType get groupType; @override List get proxies; @override int get columns; /// Create a copy of ProxyGroupSelectorState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ProxyGroupSelectorStateImplCopyWith<_$ProxyGroupSelectorStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$MoreToolsSelectorState { List get navigationItems => throw _privateConstructorUsedError; /// Create a copy of MoreToolsSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $MoreToolsSelectorStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $MoreToolsSelectorStateCopyWith<$Res> { factory $MoreToolsSelectorStateCopyWith(MoreToolsSelectorState value, $Res Function(MoreToolsSelectorState) then) = _$MoreToolsSelectorStateCopyWithImpl<$Res, MoreToolsSelectorState>; @useResult $Res call({List navigationItems}); } /// @nodoc class _$MoreToolsSelectorStateCopyWithImpl<$Res, $Val extends MoreToolsSelectorState> implements $MoreToolsSelectorStateCopyWith<$Res> { _$MoreToolsSelectorStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of MoreToolsSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? navigationItems = null, }) { return _then(_value.copyWith( navigationItems: null == navigationItems ? _value.navigationItems : navigationItems // ignore: cast_nullable_to_non_nullable as List, ) as $Val); } } /// @nodoc abstract class _$$MoreToolsSelectorStateImplCopyWith<$Res> implements $MoreToolsSelectorStateCopyWith<$Res> { factory _$$MoreToolsSelectorStateImplCopyWith( _$MoreToolsSelectorStateImpl value, $Res Function(_$MoreToolsSelectorStateImpl) then) = __$$MoreToolsSelectorStateImplCopyWithImpl<$Res>; @override @useResult $Res call({List navigationItems}); } /// @nodoc class __$$MoreToolsSelectorStateImplCopyWithImpl<$Res> extends _$MoreToolsSelectorStateCopyWithImpl<$Res, _$MoreToolsSelectorStateImpl> implements _$$MoreToolsSelectorStateImplCopyWith<$Res> { __$$MoreToolsSelectorStateImplCopyWithImpl( _$MoreToolsSelectorStateImpl _value, $Res Function(_$MoreToolsSelectorStateImpl) _then) : super(_value, _then); /// Create a copy of MoreToolsSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? navigationItems = null, }) { return _then(_$MoreToolsSelectorStateImpl( navigationItems: null == navigationItems ? _value._navigationItems : navigationItems // ignore: cast_nullable_to_non_nullable as List, )); } } /// @nodoc class _$MoreToolsSelectorStateImpl implements _MoreToolsSelectorState { const _$MoreToolsSelectorStateImpl( {required final List navigationItems}) : _navigationItems = navigationItems; final List _navigationItems; @override List get navigationItems { if (_navigationItems is EqualUnmodifiableListView) return _navigationItems; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_navigationItems); } @override String toString() { return 'MoreToolsSelectorState(navigationItems: $navigationItems)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$MoreToolsSelectorStateImpl && const DeepCollectionEquality() .equals(other._navigationItems, _navigationItems)); } @override int get hashCode => Object.hash( runtimeType, const DeepCollectionEquality().hash(_navigationItems)); /// Create a copy of MoreToolsSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MoreToolsSelectorStateImplCopyWith<_$MoreToolsSelectorStateImpl> get copyWith => __$$MoreToolsSelectorStateImplCopyWithImpl< _$MoreToolsSelectorStateImpl>(this, _$identity); } abstract class _MoreToolsSelectorState implements MoreToolsSelectorState { const factory _MoreToolsSelectorState( {required final List navigationItems}) = _$MoreToolsSelectorStateImpl; @override List get navigationItems; /// Create a copy of MoreToolsSelectorState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$MoreToolsSelectorStateImplCopyWith<_$MoreToolsSelectorStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$PackageListSelectorState { List get packages => throw _privateConstructorUsedError; AccessControl get accessControl => throw _privateConstructorUsedError; bool get isAccessControl => throw _privateConstructorUsedError; /// Create a copy of PackageListSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $PackageListSelectorStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $PackageListSelectorStateCopyWith<$Res> { factory $PackageListSelectorStateCopyWith(PackageListSelectorState value, $Res Function(PackageListSelectorState) then) = _$PackageListSelectorStateCopyWithImpl<$Res, PackageListSelectorState>; @useResult $Res call( {List packages, AccessControl accessControl, bool isAccessControl}); $AccessControlCopyWith<$Res> get accessControl; } /// @nodoc class _$PackageListSelectorStateCopyWithImpl<$Res, $Val extends PackageListSelectorState> implements $PackageListSelectorStateCopyWith<$Res> { _$PackageListSelectorStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of PackageListSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? packages = null, Object? accessControl = null, Object? isAccessControl = null, }) { return _then(_value.copyWith( packages: null == packages ? _value.packages : packages // ignore: cast_nullable_to_non_nullable as List, accessControl: null == accessControl ? _value.accessControl : accessControl // ignore: cast_nullable_to_non_nullable as AccessControl, isAccessControl: null == isAccessControl ? _value.isAccessControl : isAccessControl // ignore: cast_nullable_to_non_nullable as bool, ) as $Val); } /// Create a copy of PackageListSelectorState /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $AccessControlCopyWith<$Res> get accessControl { return $AccessControlCopyWith<$Res>(_value.accessControl, (value) { return _then(_value.copyWith(accessControl: value) as $Val); }); } } /// @nodoc abstract class _$$PackageListSelectorStateImplCopyWith<$Res> implements $PackageListSelectorStateCopyWith<$Res> { factory _$$PackageListSelectorStateImplCopyWith( _$PackageListSelectorStateImpl value, $Res Function(_$PackageListSelectorStateImpl) then) = __$$PackageListSelectorStateImplCopyWithImpl<$Res>; @override @useResult $Res call( {List packages, AccessControl accessControl, bool isAccessControl}); @override $AccessControlCopyWith<$Res> get accessControl; } /// @nodoc class __$$PackageListSelectorStateImplCopyWithImpl<$Res> extends _$PackageListSelectorStateCopyWithImpl<$Res, _$PackageListSelectorStateImpl> implements _$$PackageListSelectorStateImplCopyWith<$Res> { __$$PackageListSelectorStateImplCopyWithImpl( _$PackageListSelectorStateImpl _value, $Res Function(_$PackageListSelectorStateImpl) _then) : super(_value, _then); /// Create a copy of PackageListSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? packages = null, Object? accessControl = null, Object? isAccessControl = null, }) { return _then(_$PackageListSelectorStateImpl( packages: null == packages ? _value._packages : packages // ignore: cast_nullable_to_non_nullable as List, accessControl: null == accessControl ? _value.accessControl : accessControl // ignore: cast_nullable_to_non_nullable as AccessControl, isAccessControl: null == isAccessControl ? _value.isAccessControl : isAccessControl // ignore: cast_nullable_to_non_nullable as bool, )); } } /// @nodoc class _$PackageListSelectorStateImpl implements _PackageListSelectorState { const _$PackageListSelectorStateImpl( {required final List packages, required this.accessControl, required this.isAccessControl}) : _packages = packages; final List _packages; @override List get packages { if (_packages is EqualUnmodifiableListView) return _packages; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_packages); } @override final AccessControl accessControl; @override final bool isAccessControl; @override String toString() { return 'PackageListSelectorState(packages: $packages, accessControl: $accessControl, isAccessControl: $isAccessControl)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PackageListSelectorStateImpl && const DeepCollectionEquality().equals(other._packages, _packages) && (identical(other.accessControl, accessControl) || other.accessControl == accessControl) && (identical(other.isAccessControl, isAccessControl) || other.isAccessControl == isAccessControl)); } @override int get hashCode => Object.hash( runtimeType, const DeepCollectionEquality().hash(_packages), accessControl, isAccessControl); /// Create a copy of PackageListSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$PackageListSelectorStateImplCopyWith<_$PackageListSelectorStateImpl> get copyWith => __$$PackageListSelectorStateImplCopyWithImpl< _$PackageListSelectorStateImpl>(this, _$identity); } abstract class _PackageListSelectorState implements PackageListSelectorState { const factory _PackageListSelectorState( {required final List packages, required final AccessControl accessControl, required final bool isAccessControl}) = _$PackageListSelectorStateImpl; @override List get packages; @override AccessControl get accessControl; @override bool get isAccessControl; /// Create a copy of PackageListSelectorState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$PackageListSelectorStateImplCopyWith<_$PackageListSelectorStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$ProxiesListHeaderSelectorState { double get offset => throw _privateConstructorUsedError; int get currentIndex => throw _privateConstructorUsedError; /// Create a copy of ProxiesListHeaderSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ProxiesListHeaderSelectorStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProxiesListHeaderSelectorStateCopyWith<$Res> { factory $ProxiesListHeaderSelectorStateCopyWith( ProxiesListHeaderSelectorState value, $Res Function(ProxiesListHeaderSelectorState) then) = _$ProxiesListHeaderSelectorStateCopyWithImpl<$Res, ProxiesListHeaderSelectorState>; @useResult $Res call({double offset, int currentIndex}); } /// @nodoc class _$ProxiesListHeaderSelectorStateCopyWithImpl<$Res, $Val extends ProxiesListHeaderSelectorState> implements $ProxiesListHeaderSelectorStateCopyWith<$Res> { _$ProxiesListHeaderSelectorStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ProxiesListHeaderSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? offset = null, Object? currentIndex = null, }) { return _then(_value.copyWith( offset: null == offset ? _value.offset : offset // ignore: cast_nullable_to_non_nullable as double, currentIndex: null == currentIndex ? _value.currentIndex : currentIndex // ignore: cast_nullable_to_non_nullable as int, ) as $Val); } } /// @nodoc abstract class _$$ProxiesListHeaderSelectorStateImplCopyWith<$Res> implements $ProxiesListHeaderSelectorStateCopyWith<$Res> { factory _$$ProxiesListHeaderSelectorStateImplCopyWith( _$ProxiesListHeaderSelectorStateImpl value, $Res Function(_$ProxiesListHeaderSelectorStateImpl) then) = __$$ProxiesListHeaderSelectorStateImplCopyWithImpl<$Res>; @override @useResult $Res call({double offset, int currentIndex}); } /// @nodoc class __$$ProxiesListHeaderSelectorStateImplCopyWithImpl<$Res> extends _$ProxiesListHeaderSelectorStateCopyWithImpl<$Res, _$ProxiesListHeaderSelectorStateImpl> implements _$$ProxiesListHeaderSelectorStateImplCopyWith<$Res> { __$$ProxiesListHeaderSelectorStateImplCopyWithImpl( _$ProxiesListHeaderSelectorStateImpl _value, $Res Function(_$ProxiesListHeaderSelectorStateImpl) _then) : super(_value, _then); /// Create a copy of ProxiesListHeaderSelectorState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? offset = null, Object? currentIndex = null, }) { return _then(_$ProxiesListHeaderSelectorStateImpl( offset: null == offset ? _value.offset : offset // ignore: cast_nullable_to_non_nullable as double, currentIndex: null == currentIndex ? _value.currentIndex : currentIndex // ignore: cast_nullable_to_non_nullable as int, )); } } /// @nodoc class _$ProxiesListHeaderSelectorStateImpl implements _ProxiesListHeaderSelectorState { const _$ProxiesListHeaderSelectorStateImpl( {required this.offset, required this.currentIndex}); @override final double offset; @override final int currentIndex; @override String toString() { return 'ProxiesListHeaderSelectorState(offset: $offset, currentIndex: $currentIndex)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProxiesListHeaderSelectorStateImpl && (identical(other.offset, offset) || other.offset == offset) && (identical(other.currentIndex, currentIndex) || other.currentIndex == currentIndex)); } @override int get hashCode => Object.hash(runtimeType, offset, currentIndex); /// Create a copy of ProxiesListHeaderSelectorState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ProxiesListHeaderSelectorStateImplCopyWith< _$ProxiesListHeaderSelectorStateImpl> get copyWith => __$$ProxiesListHeaderSelectorStateImplCopyWithImpl< _$ProxiesListHeaderSelectorStateImpl>(this, _$identity); } abstract class _ProxiesListHeaderSelectorState implements ProxiesListHeaderSelectorState { const factory _ProxiesListHeaderSelectorState( {required final double offset, required final int currentIndex}) = _$ProxiesListHeaderSelectorStateImpl; @override double get offset; @override int get currentIndex; /// Create a copy of ProxiesListHeaderSelectorState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ProxiesListHeaderSelectorStateImplCopyWith< _$ProxiesListHeaderSelectorStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$ProxiesActionsState { bool get isCurrent => throw _privateConstructorUsedError; bool get hasProvider => throw _privateConstructorUsedError; /// Create a copy of ProxiesActionsState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ProxiesActionsStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProxiesActionsStateCopyWith<$Res> { factory $ProxiesActionsStateCopyWith( ProxiesActionsState value, $Res Function(ProxiesActionsState) then) = _$ProxiesActionsStateCopyWithImpl<$Res, ProxiesActionsState>; @useResult $Res call({bool isCurrent, bool hasProvider}); } /// @nodoc class _$ProxiesActionsStateCopyWithImpl<$Res, $Val extends ProxiesActionsState> implements $ProxiesActionsStateCopyWith<$Res> { _$ProxiesActionsStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ProxiesActionsState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? isCurrent = null, Object? hasProvider = null, }) { return _then(_value.copyWith( isCurrent: null == isCurrent ? _value.isCurrent : isCurrent // ignore: cast_nullable_to_non_nullable as bool, hasProvider: null == hasProvider ? _value.hasProvider : hasProvider // ignore: cast_nullable_to_non_nullable as bool, ) as $Val); } } /// @nodoc abstract class _$$ProxiesActionsStateImplCopyWith<$Res> implements $ProxiesActionsStateCopyWith<$Res> { factory _$$ProxiesActionsStateImplCopyWith(_$ProxiesActionsStateImpl value, $Res Function(_$ProxiesActionsStateImpl) then) = __$$ProxiesActionsStateImplCopyWithImpl<$Res>; @override @useResult $Res call({bool isCurrent, bool hasProvider}); } /// @nodoc class __$$ProxiesActionsStateImplCopyWithImpl<$Res> extends _$ProxiesActionsStateCopyWithImpl<$Res, _$ProxiesActionsStateImpl> implements _$$ProxiesActionsStateImplCopyWith<$Res> { __$$ProxiesActionsStateImplCopyWithImpl(_$ProxiesActionsStateImpl _value, $Res Function(_$ProxiesActionsStateImpl) _then) : super(_value, _then); /// Create a copy of ProxiesActionsState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? isCurrent = null, Object? hasProvider = null, }) { return _then(_$ProxiesActionsStateImpl( isCurrent: null == isCurrent ? _value.isCurrent : isCurrent // ignore: cast_nullable_to_non_nullable as bool, hasProvider: null == hasProvider ? _value.hasProvider : hasProvider // ignore: cast_nullable_to_non_nullable as bool, )); } } /// @nodoc class _$ProxiesActionsStateImpl implements _ProxiesActionsState { const _$ProxiesActionsStateImpl( {required this.isCurrent, required this.hasProvider}); @override final bool isCurrent; @override final bool hasProvider; @override String toString() { return 'ProxiesActionsState(isCurrent: $isCurrent, hasProvider: $hasProvider)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProxiesActionsStateImpl && (identical(other.isCurrent, isCurrent) || other.isCurrent == isCurrent) && (identical(other.hasProvider, hasProvider) || other.hasProvider == hasProvider)); } @override int get hashCode => Object.hash(runtimeType, isCurrent, hasProvider); /// Create a copy of ProxiesActionsState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ProxiesActionsStateImplCopyWith<_$ProxiesActionsStateImpl> get copyWith => __$$ProxiesActionsStateImplCopyWithImpl<_$ProxiesActionsStateImpl>( this, _$identity); } abstract class _ProxiesActionsState implements ProxiesActionsState { const factory _ProxiesActionsState( {required final bool isCurrent, required final bool hasProvider}) = _$ProxiesActionsStateImpl; @override bool get isCurrent; @override bool get hasProvider; /// Create a copy of ProxiesActionsState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ProxiesActionsStateImplCopyWith<_$ProxiesActionsStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$ProxyState { bool get isStart => throw _privateConstructorUsedError; bool get systemProxy => throw _privateConstructorUsedError; List get bassDomain => throw _privateConstructorUsedError; int get port => throw _privateConstructorUsedError; /// Create a copy of ProxyState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ProxyStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProxyStateCopyWith<$Res> { factory $ProxyStateCopyWith( ProxyState value, $Res Function(ProxyState) then) = _$ProxyStateCopyWithImpl<$Res, ProxyState>; @useResult $Res call( {bool isStart, bool systemProxy, List bassDomain, int port}); } /// @nodoc class _$ProxyStateCopyWithImpl<$Res, $Val extends ProxyState> implements $ProxyStateCopyWith<$Res> { _$ProxyStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ProxyState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? isStart = null, Object? systemProxy = null, Object? bassDomain = null, Object? port = null, }) { return _then(_value.copyWith( isStart: null == isStart ? _value.isStart : isStart // ignore: cast_nullable_to_non_nullable as bool, systemProxy: null == systemProxy ? _value.systemProxy : systemProxy // ignore: cast_nullable_to_non_nullable as bool, bassDomain: null == bassDomain ? _value.bassDomain : bassDomain // ignore: cast_nullable_to_non_nullable as List, port: null == port ? _value.port : port // ignore: cast_nullable_to_non_nullable as int, ) as $Val); } } /// @nodoc abstract class _$$ProxyStateImplCopyWith<$Res> implements $ProxyStateCopyWith<$Res> { factory _$$ProxyStateImplCopyWith( _$ProxyStateImpl value, $Res Function(_$ProxyStateImpl) then) = __$$ProxyStateImplCopyWithImpl<$Res>; @override @useResult $Res call( {bool isStart, bool systemProxy, List bassDomain, int port}); } /// @nodoc class __$$ProxyStateImplCopyWithImpl<$Res> extends _$ProxyStateCopyWithImpl<$Res, _$ProxyStateImpl> implements _$$ProxyStateImplCopyWith<$Res> { __$$ProxyStateImplCopyWithImpl( _$ProxyStateImpl _value, $Res Function(_$ProxyStateImpl) _then) : super(_value, _then); /// Create a copy of ProxyState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? isStart = null, Object? systemProxy = null, Object? bassDomain = null, Object? port = null, }) { return _then(_$ProxyStateImpl( isStart: null == isStart ? _value.isStart : isStart // ignore: cast_nullable_to_non_nullable as bool, systemProxy: null == systemProxy ? _value.systemProxy : systemProxy // ignore: cast_nullable_to_non_nullable as bool, bassDomain: null == bassDomain ? _value._bassDomain : bassDomain // ignore: cast_nullable_to_non_nullable as List, port: null == port ? _value.port : port // ignore: cast_nullable_to_non_nullable as int, )); } } /// @nodoc class _$ProxyStateImpl implements _ProxyState { const _$ProxyStateImpl( {required this.isStart, required this.systemProxy, required final List bassDomain, required this.port}) : _bassDomain = bassDomain; @override final bool isStart; @override final bool systemProxy; final List _bassDomain; @override List get bassDomain { if (_bassDomain is EqualUnmodifiableListView) return _bassDomain; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_bassDomain); } @override final int port; @override String toString() { return 'ProxyState(isStart: $isStart, systemProxy: $systemProxy, bassDomain: $bassDomain, port: $port)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProxyStateImpl && (identical(other.isStart, isStart) || other.isStart == isStart) && (identical(other.systemProxy, systemProxy) || other.systemProxy == systemProxy) && const DeepCollectionEquality() .equals(other._bassDomain, _bassDomain) && (identical(other.port, port) || other.port == port)); } @override int get hashCode => Object.hash(runtimeType, isStart, systemProxy, const DeepCollectionEquality().hash(_bassDomain), port); /// Create a copy of ProxyState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ProxyStateImplCopyWith<_$ProxyStateImpl> get copyWith => __$$ProxyStateImplCopyWithImpl<_$ProxyStateImpl>(this, _$identity); } abstract class _ProxyState implements ProxyState { const factory _ProxyState( {required final bool isStart, required final bool systemProxy, required final List bassDomain, required final int port}) = _$ProxyStateImpl; @override bool get isStart; @override bool get systemProxy; @override List get bassDomain; @override int get port; /// Create a copy of ProxyState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ProxyStateImplCopyWith<_$ProxyStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$HttpOverridesState { bool get isStart => throw _privateConstructorUsedError; int get port => throw _privateConstructorUsedError; /// Create a copy of HttpOverridesState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $HttpOverridesStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $HttpOverridesStateCopyWith<$Res> { factory $HttpOverridesStateCopyWith( HttpOverridesState value, $Res Function(HttpOverridesState) then) = _$HttpOverridesStateCopyWithImpl<$Res, HttpOverridesState>; @useResult $Res call({bool isStart, int port}); } /// @nodoc class _$HttpOverridesStateCopyWithImpl<$Res, $Val extends HttpOverridesState> implements $HttpOverridesStateCopyWith<$Res> { _$HttpOverridesStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of HttpOverridesState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? isStart = null, Object? port = null, }) { return _then(_value.copyWith( isStart: null == isStart ? _value.isStart : isStart // ignore: cast_nullable_to_non_nullable as bool, port: null == port ? _value.port : port // ignore: cast_nullable_to_non_nullable as int, ) as $Val); } } /// @nodoc abstract class _$$HttpOverridesStateImplCopyWith<$Res> implements $HttpOverridesStateCopyWith<$Res> { factory _$$HttpOverridesStateImplCopyWith(_$HttpOverridesStateImpl value, $Res Function(_$HttpOverridesStateImpl) then) = __$$HttpOverridesStateImplCopyWithImpl<$Res>; @override @useResult $Res call({bool isStart, int port}); } /// @nodoc class __$$HttpOverridesStateImplCopyWithImpl<$Res> extends _$HttpOverridesStateCopyWithImpl<$Res, _$HttpOverridesStateImpl> implements _$$HttpOverridesStateImplCopyWith<$Res> { __$$HttpOverridesStateImplCopyWithImpl(_$HttpOverridesStateImpl _value, $Res Function(_$HttpOverridesStateImpl) _then) : super(_value, _then); /// Create a copy of HttpOverridesState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? isStart = null, Object? port = null, }) { return _then(_$HttpOverridesStateImpl( isStart: null == isStart ? _value.isStart : isStart // ignore: cast_nullable_to_non_nullable as bool, port: null == port ? _value.port : port // ignore: cast_nullable_to_non_nullable as int, )); } } /// @nodoc class _$HttpOverridesStateImpl implements _HttpOverridesState { const _$HttpOverridesStateImpl({required this.isStart, required this.port}); @override final bool isStart; @override final int port; @override String toString() { return 'HttpOverridesState(isStart: $isStart, port: $port)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$HttpOverridesStateImpl && (identical(other.isStart, isStart) || other.isStart == isStart) && (identical(other.port, port) || other.port == port)); } @override int get hashCode => Object.hash(runtimeType, isStart, port); /// Create a copy of HttpOverridesState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$HttpOverridesStateImplCopyWith<_$HttpOverridesStateImpl> get copyWith => __$$HttpOverridesStateImplCopyWithImpl<_$HttpOverridesStateImpl>( this, _$identity); } abstract class _HttpOverridesState implements HttpOverridesState { const factory _HttpOverridesState( {required final bool isStart, required final int port}) = _$HttpOverridesStateImpl; @override bool get isStart; @override int get port; /// Create a copy of HttpOverridesState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$HttpOverridesStateImplCopyWith<_$HttpOverridesStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$ClashConfigState { int get mixedPort => throw _privateConstructorUsedError; bool get allowLan => throw _privateConstructorUsedError; bool get ipv6 => throw _privateConstructorUsedError; bool get overrideDns => throw _privateConstructorUsedError; String get geodataLoader => throw _privateConstructorUsedError; LogLevel get logLevel => throw _privateConstructorUsedError; String get externalController => throw _privateConstructorUsedError; Mode get mode => throw _privateConstructorUsedError; FindProcessMode get findProcessMode => throw _privateConstructorUsedError; int get keepAliveInterval => throw _privateConstructorUsedError; bool get unifiedDelay => throw _privateConstructorUsedError; bool get tcpConcurrent => throw _privateConstructorUsedError; Map get hosts => throw _privateConstructorUsedError; Tun get tun => throw _privateConstructorUsedError; Dns get dns => throw _privateConstructorUsedError; Map get geoXUrl => throw _privateConstructorUsedError; List get rules => throw _privateConstructorUsedError; String? get globalRealUa => throw _privateConstructorUsedError; /// Create a copy of ClashConfigState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ClashConfigStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ClashConfigStateCopyWith<$Res> { factory $ClashConfigStateCopyWith( ClashConfigState value, $Res Function(ClashConfigState) then) = _$ClashConfigStateCopyWithImpl<$Res, ClashConfigState>; @useResult $Res call( {int mixedPort, bool allowLan, bool ipv6, bool overrideDns, String geodataLoader, LogLevel logLevel, String externalController, Mode mode, FindProcessMode findProcessMode, int keepAliveInterval, bool unifiedDelay, bool tcpConcurrent, Map hosts, Tun tun, Dns dns, Map geoXUrl, List rules, String? globalRealUa}); $TunCopyWith<$Res> get tun; $DnsCopyWith<$Res> get dns; } /// @nodoc class _$ClashConfigStateCopyWithImpl<$Res, $Val extends ClashConfigState> implements $ClashConfigStateCopyWith<$Res> { _$ClashConfigStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ClashConfigState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? mixedPort = null, Object? allowLan = null, Object? ipv6 = null, Object? overrideDns = null, Object? geodataLoader = null, Object? logLevel = null, Object? externalController = null, Object? mode = null, Object? findProcessMode = null, Object? keepAliveInterval = null, Object? unifiedDelay = null, Object? tcpConcurrent = null, Object? hosts = null, Object? tun = null, Object? dns = null, Object? geoXUrl = null, Object? rules = null, Object? globalRealUa = freezed, }) { return _then(_value.copyWith( mixedPort: null == mixedPort ? _value.mixedPort : mixedPort // ignore: cast_nullable_to_non_nullable as int, allowLan: null == allowLan ? _value.allowLan : allowLan // ignore: cast_nullable_to_non_nullable as bool, ipv6: null == ipv6 ? _value.ipv6 : ipv6 // ignore: cast_nullable_to_non_nullable as bool, overrideDns: null == overrideDns ? _value.overrideDns : overrideDns // ignore: cast_nullable_to_non_nullable as bool, geodataLoader: null == geodataLoader ? _value.geodataLoader : geodataLoader // ignore: cast_nullable_to_non_nullable as String, logLevel: null == logLevel ? _value.logLevel : logLevel // ignore: cast_nullable_to_non_nullable as LogLevel, externalController: null == externalController ? _value.externalController : externalController // ignore: cast_nullable_to_non_nullable as String, mode: null == mode ? _value.mode : mode // ignore: cast_nullable_to_non_nullable as Mode, findProcessMode: null == findProcessMode ? _value.findProcessMode : findProcessMode // ignore: cast_nullable_to_non_nullable as FindProcessMode, keepAliveInterval: null == keepAliveInterval ? _value.keepAliveInterval : keepAliveInterval // ignore: cast_nullable_to_non_nullable as int, unifiedDelay: null == unifiedDelay ? _value.unifiedDelay : unifiedDelay // ignore: cast_nullable_to_non_nullable as bool, tcpConcurrent: null == tcpConcurrent ? _value.tcpConcurrent : tcpConcurrent // ignore: cast_nullable_to_non_nullable as bool, hosts: null == hosts ? _value.hosts : hosts // ignore: cast_nullable_to_non_nullable as Map, tun: null == tun ? _value.tun : tun // ignore: cast_nullable_to_non_nullable as Tun, dns: null == dns ? _value.dns : dns // ignore: cast_nullable_to_non_nullable as Dns, geoXUrl: null == geoXUrl ? _value.geoXUrl : geoXUrl // ignore: cast_nullable_to_non_nullable as Map, rules: null == rules ? _value.rules : rules // ignore: cast_nullable_to_non_nullable as List, globalRealUa: freezed == globalRealUa ? _value.globalRealUa : globalRealUa // ignore: cast_nullable_to_non_nullable as String?, ) as $Val); } /// Create a copy of ClashConfigState /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $TunCopyWith<$Res> get tun { return $TunCopyWith<$Res>(_value.tun, (value) { return _then(_value.copyWith(tun: value) as $Val); }); } /// Create a copy of ClashConfigState /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $DnsCopyWith<$Res> get dns { return $DnsCopyWith<$Res>(_value.dns, (value) { return _then(_value.copyWith(dns: value) as $Val); }); } } /// @nodoc abstract class _$$ClashConfigStateImplCopyWith<$Res> implements $ClashConfigStateCopyWith<$Res> { factory _$$ClashConfigStateImplCopyWith(_$ClashConfigStateImpl value, $Res Function(_$ClashConfigStateImpl) then) = __$$ClashConfigStateImplCopyWithImpl<$Res>; @override @useResult $Res call( {int mixedPort, bool allowLan, bool ipv6, bool overrideDns, String geodataLoader, LogLevel logLevel, String externalController, Mode mode, FindProcessMode findProcessMode, int keepAliveInterval, bool unifiedDelay, bool tcpConcurrent, Map hosts, Tun tun, Dns dns, Map geoXUrl, List rules, String? globalRealUa}); @override $TunCopyWith<$Res> get tun; @override $DnsCopyWith<$Res> get dns; } /// @nodoc class __$$ClashConfigStateImplCopyWithImpl<$Res> extends _$ClashConfigStateCopyWithImpl<$Res, _$ClashConfigStateImpl> implements _$$ClashConfigStateImplCopyWith<$Res> { __$$ClashConfigStateImplCopyWithImpl(_$ClashConfigStateImpl _value, $Res Function(_$ClashConfigStateImpl) _then) : super(_value, _then); /// Create a copy of ClashConfigState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? mixedPort = null, Object? allowLan = null, Object? ipv6 = null, Object? overrideDns = null, Object? geodataLoader = null, Object? logLevel = null, Object? externalController = null, Object? mode = null, Object? findProcessMode = null, Object? keepAliveInterval = null, Object? unifiedDelay = null, Object? tcpConcurrent = null, Object? hosts = null, Object? tun = null, Object? dns = null, Object? geoXUrl = null, Object? rules = null, Object? globalRealUa = freezed, }) { return _then(_$ClashConfigStateImpl( mixedPort: null == mixedPort ? _value.mixedPort : mixedPort // ignore: cast_nullable_to_non_nullable as int, allowLan: null == allowLan ? _value.allowLan : allowLan // ignore: cast_nullable_to_non_nullable as bool, ipv6: null == ipv6 ? _value.ipv6 : ipv6 // ignore: cast_nullable_to_non_nullable as bool, overrideDns: null == overrideDns ? _value.overrideDns : overrideDns // ignore: cast_nullable_to_non_nullable as bool, geodataLoader: null == geodataLoader ? _value.geodataLoader : geodataLoader // ignore: cast_nullable_to_non_nullable as String, logLevel: null == logLevel ? _value.logLevel : logLevel // ignore: cast_nullable_to_non_nullable as LogLevel, externalController: null == externalController ? _value.externalController : externalController // ignore: cast_nullable_to_non_nullable as String, mode: null == mode ? _value.mode : mode // ignore: cast_nullable_to_non_nullable as Mode, findProcessMode: null == findProcessMode ? _value.findProcessMode : findProcessMode // ignore: cast_nullable_to_non_nullable as FindProcessMode, keepAliveInterval: null == keepAliveInterval ? _value.keepAliveInterval : keepAliveInterval // ignore: cast_nullable_to_non_nullable as int, unifiedDelay: null == unifiedDelay ? _value.unifiedDelay : unifiedDelay // ignore: cast_nullable_to_non_nullable as bool, tcpConcurrent: null == tcpConcurrent ? _value.tcpConcurrent : tcpConcurrent // ignore: cast_nullable_to_non_nullable as bool, hosts: null == hosts ? _value._hosts : hosts // ignore: cast_nullable_to_non_nullable as Map, tun: null == tun ? _value.tun : tun // ignore: cast_nullable_to_non_nullable as Tun, dns: null == dns ? _value.dns : dns // ignore: cast_nullable_to_non_nullable as Dns, geoXUrl: null == geoXUrl ? _value._geoXUrl : geoXUrl // ignore: cast_nullable_to_non_nullable as Map, rules: null == rules ? _value._rules : rules // ignore: cast_nullable_to_non_nullable as List, globalRealUa: freezed == globalRealUa ? _value.globalRealUa : globalRealUa // ignore: cast_nullable_to_non_nullable as String?, )); } } /// @nodoc class _$ClashConfigStateImpl implements _ClashConfigState { const _$ClashConfigStateImpl( {required this.mixedPort, required this.allowLan, required this.ipv6, required this.overrideDns, required this.geodataLoader, required this.logLevel, required this.externalController, required this.mode, required this.findProcessMode, required this.keepAliveInterval, required this.unifiedDelay, required this.tcpConcurrent, required final Map hosts, required this.tun, required this.dns, required final Map geoXUrl, required final List rules, required this.globalRealUa}) : _hosts = hosts, _geoXUrl = geoXUrl, _rules = rules; @override final int mixedPort; @override final bool allowLan; @override final bool ipv6; @override final bool overrideDns; @override final String geodataLoader; @override final LogLevel logLevel; @override final String externalController; @override final Mode mode; @override final FindProcessMode findProcessMode; @override final int keepAliveInterval; @override final bool unifiedDelay; @override final bool tcpConcurrent; final Map _hosts; @override Map get hosts { if (_hosts is EqualUnmodifiableMapView) return _hosts; // ignore: implicit_dynamic_type return EqualUnmodifiableMapView(_hosts); } @override final Tun tun; @override final Dns dns; final Map _geoXUrl; @override Map get geoXUrl { if (_geoXUrl is EqualUnmodifiableMapView) return _geoXUrl; // ignore: implicit_dynamic_type return EqualUnmodifiableMapView(_geoXUrl); } final List _rules; @override List get rules { if (_rules is EqualUnmodifiableListView) return _rules; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_rules); } @override final String? globalRealUa; @override String toString() { return 'ClashConfigState(mixedPort: $mixedPort, allowLan: $allowLan, ipv6: $ipv6, overrideDns: $overrideDns, geodataLoader: $geodataLoader, logLevel: $logLevel, externalController: $externalController, mode: $mode, findProcessMode: $findProcessMode, keepAliveInterval: $keepAliveInterval, unifiedDelay: $unifiedDelay, tcpConcurrent: $tcpConcurrent, hosts: $hosts, tun: $tun, dns: $dns, geoXUrl: $geoXUrl, rules: $rules, globalRealUa: $globalRealUa)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ClashConfigStateImpl && (identical(other.mixedPort, mixedPort) || other.mixedPort == mixedPort) && (identical(other.allowLan, allowLan) || other.allowLan == allowLan) && (identical(other.ipv6, ipv6) || other.ipv6 == ipv6) && (identical(other.overrideDns, overrideDns) || other.overrideDns == overrideDns) && (identical(other.geodataLoader, geodataLoader) || other.geodataLoader == geodataLoader) && (identical(other.logLevel, logLevel) || other.logLevel == logLevel) && (identical(other.externalController, externalController) || other.externalController == externalController) && (identical(other.mode, mode) || other.mode == mode) && (identical(other.findProcessMode, findProcessMode) || other.findProcessMode == findProcessMode) && (identical(other.keepAliveInterval, keepAliveInterval) || other.keepAliveInterval == keepAliveInterval) && (identical(other.unifiedDelay, unifiedDelay) || other.unifiedDelay == unifiedDelay) && (identical(other.tcpConcurrent, tcpConcurrent) || other.tcpConcurrent == tcpConcurrent) && const DeepCollectionEquality().equals(other._hosts, _hosts) && (identical(other.tun, tun) || other.tun == tun) && (identical(other.dns, dns) || other.dns == dns) && const DeepCollectionEquality().equals(other._geoXUrl, _geoXUrl) && const DeepCollectionEquality().equals(other._rules, _rules) && (identical(other.globalRealUa, globalRealUa) || other.globalRealUa == globalRealUa)); } @override int get hashCode => Object.hash( runtimeType, mixedPort, allowLan, ipv6, overrideDns, geodataLoader, logLevel, externalController, mode, findProcessMode, keepAliveInterval, unifiedDelay, tcpConcurrent, const DeepCollectionEquality().hash(_hosts), tun, dns, const DeepCollectionEquality().hash(_geoXUrl), const DeepCollectionEquality().hash(_rules), globalRealUa); /// Create a copy of ClashConfigState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ClashConfigStateImplCopyWith<_$ClashConfigStateImpl> get copyWith => __$$ClashConfigStateImplCopyWithImpl<_$ClashConfigStateImpl>( this, _$identity); } abstract class _ClashConfigState implements ClashConfigState { const factory _ClashConfigState( {required final int mixedPort, required final bool allowLan, required final bool ipv6, required final bool overrideDns, required final String geodataLoader, required final LogLevel logLevel, required final String externalController, required final Mode mode, required final FindProcessMode findProcessMode, required final int keepAliveInterval, required final bool unifiedDelay, required final bool tcpConcurrent, required final Map hosts, required final Tun tun, required final Dns dns, required final Map geoXUrl, required final List rules, required final String? globalRealUa}) = _$ClashConfigStateImpl; @override int get mixedPort; @override bool get allowLan; @override bool get ipv6; @override bool get overrideDns; @override String get geodataLoader; @override LogLevel get logLevel; @override String get externalController; @override Mode get mode; @override FindProcessMode get findProcessMode; @override int get keepAliveInterval; @override bool get unifiedDelay; @override bool get tcpConcurrent; @override Map get hosts; @override Tun get tun; @override Dns get dns; @override Map get geoXUrl; @override List get rules; @override String? get globalRealUa; /// Create a copy of ClashConfigState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ClashConfigStateImplCopyWith<_$ClashConfigStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$DashboardState { List get dashboardWidgets => throw _privateConstructorUsedError; double get viewWidth => throw _privateConstructorUsedError; /// Create a copy of DashboardState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $DashboardStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $DashboardStateCopyWith<$Res> { factory $DashboardStateCopyWith( DashboardState value, $Res Function(DashboardState) then) = _$DashboardStateCopyWithImpl<$Res, DashboardState>; @useResult $Res call({List dashboardWidgets, double viewWidth}); } /// @nodoc class _$DashboardStateCopyWithImpl<$Res, $Val extends DashboardState> implements $DashboardStateCopyWith<$Res> { _$DashboardStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of DashboardState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? dashboardWidgets = null, Object? viewWidth = null, }) { return _then(_value.copyWith( dashboardWidgets: null == dashboardWidgets ? _value.dashboardWidgets : dashboardWidgets // ignore: cast_nullable_to_non_nullable as List, viewWidth: null == viewWidth ? _value.viewWidth : viewWidth // ignore: cast_nullable_to_non_nullable as double, ) as $Val); } } /// @nodoc abstract class _$$DashboardStateImplCopyWith<$Res> implements $DashboardStateCopyWith<$Res> { factory _$$DashboardStateImplCopyWith(_$DashboardStateImpl value, $Res Function(_$DashboardStateImpl) then) = __$$DashboardStateImplCopyWithImpl<$Res>; @override @useResult $Res call({List dashboardWidgets, double viewWidth}); } /// @nodoc class __$$DashboardStateImplCopyWithImpl<$Res> extends _$DashboardStateCopyWithImpl<$Res, _$DashboardStateImpl> implements _$$DashboardStateImplCopyWith<$Res> { __$$DashboardStateImplCopyWithImpl( _$DashboardStateImpl _value, $Res Function(_$DashboardStateImpl) _then) : super(_value, _then); /// Create a copy of DashboardState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? dashboardWidgets = null, Object? viewWidth = null, }) { return _then(_$DashboardStateImpl( dashboardWidgets: null == dashboardWidgets ? _value._dashboardWidgets : dashboardWidgets // ignore: cast_nullable_to_non_nullable as List, viewWidth: null == viewWidth ? _value.viewWidth : viewWidth // ignore: cast_nullable_to_non_nullable as double, )); } } /// @nodoc class _$DashboardStateImpl implements _DashboardState { const _$DashboardStateImpl( {required final List dashboardWidgets, required this.viewWidth}) : _dashboardWidgets = dashboardWidgets; final List _dashboardWidgets; @override List get dashboardWidgets { if (_dashboardWidgets is EqualUnmodifiableListView) return _dashboardWidgets; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_dashboardWidgets); } @override final double viewWidth; @override String toString() { return 'DashboardState(dashboardWidgets: $dashboardWidgets, viewWidth: $viewWidth)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DashboardStateImpl && const DeepCollectionEquality() .equals(other._dashboardWidgets, _dashboardWidgets) && (identical(other.viewWidth, viewWidth) || other.viewWidth == viewWidth)); } @override int get hashCode => Object.hash(runtimeType, const DeepCollectionEquality().hash(_dashboardWidgets), viewWidth); /// Create a copy of DashboardState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$DashboardStateImplCopyWith<_$DashboardStateImpl> get copyWith => __$$DashboardStateImplCopyWithImpl<_$DashboardStateImpl>( this, _$identity); } abstract class _DashboardState implements DashboardState { const factory _DashboardState( {required final List dashboardWidgets, required final double viewWidth}) = _$DashboardStateImpl; @override List get dashboardWidgets; @override double get viewWidth; /// Create a copy of DashboardState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$DashboardStateImplCopyWith<_$DashboardStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$VPNState { AccessControl? get accessControl => throw _privateConstructorUsedError; TunStack get stack => throw _privateConstructorUsedError; VpnProps get vpnProps => throw _privateConstructorUsedError; /// Create a copy of VPNState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $VPNStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $VPNStateCopyWith<$Res> { factory $VPNStateCopyWith(VPNState value, $Res Function(VPNState) then) = _$VPNStateCopyWithImpl<$Res, VPNState>; @useResult $Res call({AccessControl? accessControl, TunStack stack, VpnProps vpnProps}); $AccessControlCopyWith<$Res>? get accessControl; $VpnPropsCopyWith<$Res> get vpnProps; } /// @nodoc class _$VPNStateCopyWithImpl<$Res, $Val extends VPNState> implements $VPNStateCopyWith<$Res> { _$VPNStateCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of VPNState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? accessControl = freezed, Object? stack = null, Object? vpnProps = null, }) { return _then(_value.copyWith( accessControl: freezed == accessControl ? _value.accessControl : accessControl // ignore: cast_nullable_to_non_nullable as AccessControl?, stack: null == stack ? _value.stack : stack // ignore: cast_nullable_to_non_nullable as TunStack, vpnProps: null == vpnProps ? _value.vpnProps : vpnProps // ignore: cast_nullable_to_non_nullable as VpnProps, ) as $Val); } /// Create a copy of VPNState /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $AccessControlCopyWith<$Res>? get accessControl { if (_value.accessControl == null) { return null; } return $AccessControlCopyWith<$Res>(_value.accessControl!, (value) { return _then(_value.copyWith(accessControl: value) as $Val); }); } /// Create a copy of VPNState /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $VpnPropsCopyWith<$Res> get vpnProps { return $VpnPropsCopyWith<$Res>(_value.vpnProps, (value) { return _then(_value.copyWith(vpnProps: value) as $Val); }); } } /// @nodoc abstract class _$$VPNStateImplCopyWith<$Res> implements $VPNStateCopyWith<$Res> { factory _$$VPNStateImplCopyWith( _$VPNStateImpl value, $Res Function(_$VPNStateImpl) then) = __$$VPNStateImplCopyWithImpl<$Res>; @override @useResult $Res call({AccessControl? accessControl, TunStack stack, VpnProps vpnProps}); @override $AccessControlCopyWith<$Res>? get accessControl; @override $VpnPropsCopyWith<$Res> get vpnProps; } /// @nodoc class __$$VPNStateImplCopyWithImpl<$Res> extends _$VPNStateCopyWithImpl<$Res, _$VPNStateImpl> implements _$$VPNStateImplCopyWith<$Res> { __$$VPNStateImplCopyWithImpl( _$VPNStateImpl _value, $Res Function(_$VPNStateImpl) _then) : super(_value, _then); /// Create a copy of VPNState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? accessControl = freezed, Object? stack = null, Object? vpnProps = null, }) { return _then(_$VPNStateImpl( accessControl: freezed == accessControl ? _value.accessControl : accessControl // ignore: cast_nullable_to_non_nullable as AccessControl?, stack: null == stack ? _value.stack : stack // ignore: cast_nullable_to_non_nullable as TunStack, vpnProps: null == vpnProps ? _value.vpnProps : vpnProps // ignore: cast_nullable_to_non_nullable as VpnProps, )); } } /// @nodoc class _$VPNStateImpl implements _VPNState { const _$VPNStateImpl( {required this.accessControl, required this.stack, required this.vpnProps}); @override final AccessControl? accessControl; @override final TunStack stack; @override final VpnProps vpnProps; @override String toString() { return 'VPNState(accessControl: $accessControl, stack: $stack, vpnProps: $vpnProps)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$VPNStateImpl && (identical(other.accessControl, accessControl) || other.accessControl == accessControl) && (identical(other.stack, stack) || other.stack == stack) && (identical(other.vpnProps, vpnProps) || other.vpnProps == vpnProps)); } @override int get hashCode => Object.hash(runtimeType, accessControl, stack, vpnProps); /// Create a copy of VPNState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$VPNStateImplCopyWith<_$VPNStateImpl> get copyWith => __$$VPNStateImplCopyWithImpl<_$VPNStateImpl>(this, _$identity); } abstract class _VPNState implements VPNState { const factory _VPNState( {required final AccessControl? accessControl, required final TunStack stack, required final VpnProps vpnProps}) = _$VPNStateImpl; @override AccessControl? get accessControl; @override TunStack get stack; @override VpnProps get vpnProps; /// Create a copy of VPNState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$VPNStateImplCopyWith<_$VPNStateImpl> get copyWith => throw _privateConstructorUsedError; }