// 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 '../config.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'); AppSetting _$AppSettingFromJson(Map json) { return _AppSetting.fromJson(json); } /// @nodoc mixin _$AppSetting { String? get locale => throw _privateConstructorUsedError; bool get onlyProxy => throw _privateConstructorUsedError; bool get autoLaunch => throw _privateConstructorUsedError; bool get adminAutoLaunch => throw _privateConstructorUsedError; bool get silentLaunch => throw _privateConstructorUsedError; bool get autoRun => throw _privateConstructorUsedError; bool get openLogs => throw _privateConstructorUsedError; bool get closeConnections => throw _privateConstructorUsedError; String get testUrl => throw _privateConstructorUsedError; bool get isAnimateToPage => throw _privateConstructorUsedError; bool get autoCheckUpdate => throw _privateConstructorUsedError; bool get showLabel => throw _privateConstructorUsedError; bool get disclaimerAccepted => throw _privateConstructorUsedError; bool get minimizeOnExit => throw _privateConstructorUsedError; bool get hidden => throw _privateConstructorUsedError; /// Serializes this AppSetting to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of AppSetting /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $AppSettingCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $AppSettingCopyWith<$Res> { factory $AppSettingCopyWith( AppSetting value, $Res Function(AppSetting) then) = _$AppSettingCopyWithImpl<$Res, AppSetting>; @useResult $Res call( {String? locale, bool onlyProxy, bool autoLaunch, bool adminAutoLaunch, bool silentLaunch, bool autoRun, bool openLogs, bool closeConnections, String testUrl, bool isAnimateToPage, bool autoCheckUpdate, bool showLabel, bool disclaimerAccepted, bool minimizeOnExit, bool hidden}); } /// @nodoc class _$AppSettingCopyWithImpl<$Res, $Val extends AppSetting> implements $AppSettingCopyWith<$Res> { _$AppSettingCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of AppSetting /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? locale = freezed, Object? onlyProxy = null, Object? autoLaunch = null, Object? adminAutoLaunch = null, Object? silentLaunch = null, Object? autoRun = null, Object? openLogs = null, Object? closeConnections = null, Object? testUrl = null, Object? isAnimateToPage = null, Object? autoCheckUpdate = null, Object? showLabel = null, Object? disclaimerAccepted = null, Object? minimizeOnExit = null, Object? hidden = null, }) { return _then(_value.copyWith( locale: freezed == locale ? _value.locale : locale // ignore: cast_nullable_to_non_nullable as String?, onlyProxy: null == onlyProxy ? _value.onlyProxy : onlyProxy // ignore: cast_nullable_to_non_nullable as bool, autoLaunch: null == autoLaunch ? _value.autoLaunch : autoLaunch // ignore: cast_nullable_to_non_nullable as bool, adminAutoLaunch: null == adminAutoLaunch ? _value.adminAutoLaunch : adminAutoLaunch // ignore: cast_nullable_to_non_nullable as bool, silentLaunch: null == silentLaunch ? _value.silentLaunch : silentLaunch // ignore: cast_nullable_to_non_nullable as bool, autoRun: null == autoRun ? _value.autoRun : autoRun // ignore: cast_nullable_to_non_nullable as bool, openLogs: null == openLogs ? _value.openLogs : openLogs // ignore: cast_nullable_to_non_nullable as bool, closeConnections: null == closeConnections ? _value.closeConnections : closeConnections // ignore: cast_nullable_to_non_nullable as bool, testUrl: null == testUrl ? _value.testUrl : testUrl // ignore: cast_nullable_to_non_nullable as String, isAnimateToPage: null == isAnimateToPage ? _value.isAnimateToPage : isAnimateToPage // ignore: cast_nullable_to_non_nullable as bool, autoCheckUpdate: null == autoCheckUpdate ? _value.autoCheckUpdate : autoCheckUpdate // ignore: cast_nullable_to_non_nullable as bool, showLabel: null == showLabel ? _value.showLabel : showLabel // ignore: cast_nullable_to_non_nullable as bool, disclaimerAccepted: null == disclaimerAccepted ? _value.disclaimerAccepted : disclaimerAccepted // ignore: cast_nullable_to_non_nullable as bool, minimizeOnExit: null == minimizeOnExit ? _value.minimizeOnExit : minimizeOnExit // ignore: cast_nullable_to_non_nullable as bool, hidden: null == hidden ? _value.hidden : hidden // ignore: cast_nullable_to_non_nullable as bool, ) as $Val); } } /// @nodoc abstract class _$$AppSettingImplCopyWith<$Res> implements $AppSettingCopyWith<$Res> { factory _$$AppSettingImplCopyWith( _$AppSettingImpl value, $Res Function(_$AppSettingImpl) then) = __$$AppSettingImplCopyWithImpl<$Res>; @override @useResult $Res call( {String? locale, bool onlyProxy, bool autoLaunch, bool adminAutoLaunch, bool silentLaunch, bool autoRun, bool openLogs, bool closeConnections, String testUrl, bool isAnimateToPage, bool autoCheckUpdate, bool showLabel, bool disclaimerAccepted, bool minimizeOnExit, bool hidden}); } /// @nodoc class __$$AppSettingImplCopyWithImpl<$Res> extends _$AppSettingCopyWithImpl<$Res, _$AppSettingImpl> implements _$$AppSettingImplCopyWith<$Res> { __$$AppSettingImplCopyWithImpl( _$AppSettingImpl _value, $Res Function(_$AppSettingImpl) _then) : super(_value, _then); /// Create a copy of AppSetting /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? locale = freezed, Object? onlyProxy = null, Object? autoLaunch = null, Object? adminAutoLaunch = null, Object? silentLaunch = null, Object? autoRun = null, Object? openLogs = null, Object? closeConnections = null, Object? testUrl = null, Object? isAnimateToPage = null, Object? autoCheckUpdate = null, Object? showLabel = null, Object? disclaimerAccepted = null, Object? minimizeOnExit = null, Object? hidden = null, }) { return _then(_$AppSettingImpl( locale: freezed == locale ? _value.locale : locale // ignore: cast_nullable_to_non_nullable as String?, onlyProxy: null == onlyProxy ? _value.onlyProxy : onlyProxy // ignore: cast_nullable_to_non_nullable as bool, autoLaunch: null == autoLaunch ? _value.autoLaunch : autoLaunch // ignore: cast_nullable_to_non_nullable as bool, adminAutoLaunch: null == adminAutoLaunch ? _value.adminAutoLaunch : adminAutoLaunch // ignore: cast_nullable_to_non_nullable as bool, silentLaunch: null == silentLaunch ? _value.silentLaunch : silentLaunch // ignore: cast_nullable_to_non_nullable as bool, autoRun: null == autoRun ? _value.autoRun : autoRun // ignore: cast_nullable_to_non_nullable as bool, openLogs: null == openLogs ? _value.openLogs : openLogs // ignore: cast_nullable_to_non_nullable as bool, closeConnections: null == closeConnections ? _value.closeConnections : closeConnections // ignore: cast_nullable_to_non_nullable as bool, testUrl: null == testUrl ? _value.testUrl : testUrl // ignore: cast_nullable_to_non_nullable as String, isAnimateToPage: null == isAnimateToPage ? _value.isAnimateToPage : isAnimateToPage // ignore: cast_nullable_to_non_nullable as bool, autoCheckUpdate: null == autoCheckUpdate ? _value.autoCheckUpdate : autoCheckUpdate // ignore: cast_nullable_to_non_nullable as bool, showLabel: null == showLabel ? _value.showLabel : showLabel // ignore: cast_nullable_to_non_nullable as bool, disclaimerAccepted: null == disclaimerAccepted ? _value.disclaimerAccepted : disclaimerAccepted // ignore: cast_nullable_to_non_nullable as bool, minimizeOnExit: null == minimizeOnExit ? _value.minimizeOnExit : minimizeOnExit // ignore: cast_nullable_to_non_nullable as bool, hidden: null == hidden ? _value.hidden : hidden // ignore: cast_nullable_to_non_nullable as bool, )); } } /// @nodoc @JsonSerializable() class _$AppSettingImpl implements _AppSetting { const _$AppSettingImpl( {this.locale, this.onlyProxy = false, this.autoLaunch = false, this.adminAutoLaunch = false, this.silentLaunch = false, this.autoRun = false, this.openLogs = false, this.closeConnections = true, this.testUrl = defaultTestUrl, this.isAnimateToPage = true, this.autoCheckUpdate = true, this.showLabel = false, this.disclaimerAccepted = false, this.minimizeOnExit = true, this.hidden = false}); factory _$AppSettingImpl.fromJson(Map json) => _$$AppSettingImplFromJson(json); @override final String? locale; @override @JsonKey() final bool onlyProxy; @override @JsonKey() final bool autoLaunch; @override @JsonKey() final bool adminAutoLaunch; @override @JsonKey() final bool silentLaunch; @override @JsonKey() final bool autoRun; @override @JsonKey() final bool openLogs; @override @JsonKey() final bool closeConnections; @override @JsonKey() final String testUrl; @override @JsonKey() final bool isAnimateToPage; @override @JsonKey() final bool autoCheckUpdate; @override @JsonKey() final bool showLabel; @override @JsonKey() final bool disclaimerAccepted; @override @JsonKey() final bool minimizeOnExit; @override @JsonKey() final bool hidden; @override String toString() { return 'AppSetting(locale: $locale, onlyProxy: $onlyProxy, autoLaunch: $autoLaunch, adminAutoLaunch: $adminAutoLaunch, silentLaunch: $silentLaunch, autoRun: $autoRun, openLogs: $openLogs, closeConnections: $closeConnections, testUrl: $testUrl, isAnimateToPage: $isAnimateToPage, autoCheckUpdate: $autoCheckUpdate, showLabel: $showLabel, disclaimerAccepted: $disclaimerAccepted, minimizeOnExit: $minimizeOnExit, hidden: $hidden)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$AppSettingImpl && (identical(other.locale, locale) || other.locale == locale) && (identical(other.onlyProxy, onlyProxy) || other.onlyProxy == onlyProxy) && (identical(other.autoLaunch, autoLaunch) || other.autoLaunch == autoLaunch) && (identical(other.adminAutoLaunch, adminAutoLaunch) || other.adminAutoLaunch == adminAutoLaunch) && (identical(other.silentLaunch, silentLaunch) || other.silentLaunch == silentLaunch) && (identical(other.autoRun, autoRun) || other.autoRun == autoRun) && (identical(other.openLogs, openLogs) || other.openLogs == openLogs) && (identical(other.closeConnections, closeConnections) || other.closeConnections == closeConnections) && (identical(other.testUrl, testUrl) || other.testUrl == testUrl) && (identical(other.isAnimateToPage, isAnimateToPage) || other.isAnimateToPage == isAnimateToPage) && (identical(other.autoCheckUpdate, autoCheckUpdate) || other.autoCheckUpdate == autoCheckUpdate) && (identical(other.showLabel, showLabel) || other.showLabel == showLabel) && (identical(other.disclaimerAccepted, disclaimerAccepted) || other.disclaimerAccepted == disclaimerAccepted) && (identical(other.minimizeOnExit, minimizeOnExit) || other.minimizeOnExit == minimizeOnExit) && (identical(other.hidden, hidden) || other.hidden == hidden)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, locale, onlyProxy, autoLaunch, adminAutoLaunch, silentLaunch, autoRun, openLogs, closeConnections, testUrl, isAnimateToPage, autoCheckUpdate, showLabel, disclaimerAccepted, minimizeOnExit, hidden); /// Create a copy of AppSetting /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$AppSettingImplCopyWith<_$AppSettingImpl> get copyWith => __$$AppSettingImplCopyWithImpl<_$AppSettingImpl>(this, _$identity); @override Map toJson() { return _$$AppSettingImplToJson( this, ); } } abstract class _AppSetting implements AppSetting { const factory _AppSetting( {final String? locale, final bool onlyProxy, final bool autoLaunch, final bool adminAutoLaunch, final bool silentLaunch, final bool autoRun, final bool openLogs, final bool closeConnections, final String testUrl, final bool isAnimateToPage, final bool autoCheckUpdate, final bool showLabel, final bool disclaimerAccepted, final bool minimizeOnExit, final bool hidden}) = _$AppSettingImpl; factory _AppSetting.fromJson(Map json) = _$AppSettingImpl.fromJson; @override String? get locale; @override bool get onlyProxy; @override bool get autoLaunch; @override bool get adminAutoLaunch; @override bool get silentLaunch; @override bool get autoRun; @override bool get openLogs; @override bool get closeConnections; @override String get testUrl; @override bool get isAnimateToPage; @override bool get autoCheckUpdate; @override bool get showLabel; @override bool get disclaimerAccepted; @override bool get minimizeOnExit; @override bool get hidden; /// Create a copy of AppSetting /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$AppSettingImplCopyWith<_$AppSettingImpl> get copyWith => throw _privateConstructorUsedError; } AccessControl _$AccessControlFromJson(Map json) { return _AccessControl.fromJson(json); } /// @nodoc mixin _$AccessControl { AccessControlMode get mode => throw _privateConstructorUsedError; List get acceptList => throw _privateConstructorUsedError; List get rejectList => throw _privateConstructorUsedError; AccessSortType get sort => throw _privateConstructorUsedError; bool get isFilterSystemApp => throw _privateConstructorUsedError; /// Serializes this AccessControl to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of AccessControl /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $AccessControlCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $AccessControlCopyWith<$Res> { factory $AccessControlCopyWith( AccessControl value, $Res Function(AccessControl) then) = _$AccessControlCopyWithImpl<$Res, AccessControl>; @useResult $Res call( {AccessControlMode mode, List acceptList, List rejectList, AccessSortType sort, bool isFilterSystemApp}); } /// @nodoc class _$AccessControlCopyWithImpl<$Res, $Val extends AccessControl> implements $AccessControlCopyWith<$Res> { _$AccessControlCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of AccessControl /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? mode = null, Object? acceptList = null, Object? rejectList = null, Object? sort = null, Object? isFilterSystemApp = null, }) { return _then(_value.copyWith( mode: null == mode ? _value.mode : mode // ignore: cast_nullable_to_non_nullable as AccessControlMode, acceptList: null == acceptList ? _value.acceptList : acceptList // ignore: cast_nullable_to_non_nullable as List, rejectList: null == rejectList ? _value.rejectList : rejectList // ignore: cast_nullable_to_non_nullable as List, sort: null == sort ? _value.sort : sort // ignore: cast_nullable_to_non_nullable as AccessSortType, isFilterSystemApp: null == isFilterSystemApp ? _value.isFilterSystemApp : isFilterSystemApp // ignore: cast_nullable_to_non_nullable as bool, ) as $Val); } } /// @nodoc abstract class _$$AccessControlImplCopyWith<$Res> implements $AccessControlCopyWith<$Res> { factory _$$AccessControlImplCopyWith( _$AccessControlImpl value, $Res Function(_$AccessControlImpl) then) = __$$AccessControlImplCopyWithImpl<$Res>; @override @useResult $Res call( {AccessControlMode mode, List acceptList, List rejectList, AccessSortType sort, bool isFilterSystemApp}); } /// @nodoc class __$$AccessControlImplCopyWithImpl<$Res> extends _$AccessControlCopyWithImpl<$Res, _$AccessControlImpl> implements _$$AccessControlImplCopyWith<$Res> { __$$AccessControlImplCopyWithImpl( _$AccessControlImpl _value, $Res Function(_$AccessControlImpl) _then) : super(_value, _then); /// Create a copy of AccessControl /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? mode = null, Object? acceptList = null, Object? rejectList = null, Object? sort = null, Object? isFilterSystemApp = null, }) { return _then(_$AccessControlImpl( mode: null == mode ? _value.mode : mode // ignore: cast_nullable_to_non_nullable as AccessControlMode, acceptList: null == acceptList ? _value._acceptList : acceptList // ignore: cast_nullable_to_non_nullable as List, rejectList: null == rejectList ? _value._rejectList : rejectList // ignore: cast_nullable_to_non_nullable as List, sort: null == sort ? _value.sort : sort // ignore: cast_nullable_to_non_nullable as AccessSortType, isFilterSystemApp: null == isFilterSystemApp ? _value.isFilterSystemApp : isFilterSystemApp // ignore: cast_nullable_to_non_nullable as bool, )); } } /// @nodoc @JsonSerializable() class _$AccessControlImpl implements _AccessControl { const _$AccessControlImpl( {this.mode = AccessControlMode.rejectSelected, final List acceptList = const [], final List rejectList = const [], this.sort = AccessSortType.none, this.isFilterSystemApp = true}) : _acceptList = acceptList, _rejectList = rejectList; factory _$AccessControlImpl.fromJson(Map json) => _$$AccessControlImplFromJson(json); @override @JsonKey() final AccessControlMode mode; final List _acceptList; @override @JsonKey() List get acceptList { if (_acceptList is EqualUnmodifiableListView) return _acceptList; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_acceptList); } final List _rejectList; @override @JsonKey() List get rejectList { if (_rejectList is EqualUnmodifiableListView) return _rejectList; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_rejectList); } @override @JsonKey() final AccessSortType sort; @override @JsonKey() final bool isFilterSystemApp; @override String toString() { return 'AccessControl(mode: $mode, acceptList: $acceptList, rejectList: $rejectList, sort: $sort, isFilterSystemApp: $isFilterSystemApp)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$AccessControlImpl && (identical(other.mode, mode) || other.mode == mode) && const DeepCollectionEquality() .equals(other._acceptList, _acceptList) && const DeepCollectionEquality() .equals(other._rejectList, _rejectList) && (identical(other.sort, sort) || other.sort == sort) && (identical(other.isFilterSystemApp, isFilterSystemApp) || other.isFilterSystemApp == isFilterSystemApp)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, mode, const DeepCollectionEquality().hash(_acceptList), const DeepCollectionEquality().hash(_rejectList), sort, isFilterSystemApp); /// Create a copy of AccessControl /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$AccessControlImplCopyWith<_$AccessControlImpl> get copyWith => __$$AccessControlImplCopyWithImpl<_$AccessControlImpl>(this, _$identity); @override Map toJson() { return _$$AccessControlImplToJson( this, ); } } abstract class _AccessControl implements AccessControl { const factory _AccessControl( {final AccessControlMode mode, final List acceptList, final List rejectList, final AccessSortType sort, final bool isFilterSystemApp}) = _$AccessControlImpl; factory _AccessControl.fromJson(Map json) = _$AccessControlImpl.fromJson; @override AccessControlMode get mode; @override List get acceptList; @override List get rejectList; @override AccessSortType get sort; @override bool get isFilterSystemApp; /// Create a copy of AccessControl /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$AccessControlImplCopyWith<_$AccessControlImpl> get copyWith => throw _privateConstructorUsedError; } WindowProps _$WindowPropsFromJson(Map json) { return _WindowProps.fromJson(json); } /// @nodoc mixin _$WindowProps { double get width => throw _privateConstructorUsedError; double get height => throw _privateConstructorUsedError; double? get top => throw _privateConstructorUsedError; double? get left => throw _privateConstructorUsedError; /// Serializes this WindowProps to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of WindowProps /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $WindowPropsCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $WindowPropsCopyWith<$Res> { factory $WindowPropsCopyWith( WindowProps value, $Res Function(WindowProps) then) = _$WindowPropsCopyWithImpl<$Res, WindowProps>; @useResult $Res call({double width, double height, double? top, double? left}); } /// @nodoc class _$WindowPropsCopyWithImpl<$Res, $Val extends WindowProps> implements $WindowPropsCopyWith<$Res> { _$WindowPropsCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of WindowProps /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? width = null, Object? height = null, Object? top = freezed, Object? left = freezed, }) { return _then(_value.copyWith( width: null == width ? _value.width : width // ignore: cast_nullable_to_non_nullable as double, height: null == height ? _value.height : height // ignore: cast_nullable_to_non_nullable as double, top: freezed == top ? _value.top : top // ignore: cast_nullable_to_non_nullable as double?, left: freezed == left ? _value.left : left // ignore: cast_nullable_to_non_nullable as double?, ) as $Val); } } /// @nodoc abstract class _$$WindowPropsImplCopyWith<$Res> implements $WindowPropsCopyWith<$Res> { factory _$$WindowPropsImplCopyWith( _$WindowPropsImpl value, $Res Function(_$WindowPropsImpl) then) = __$$WindowPropsImplCopyWithImpl<$Res>; @override @useResult $Res call({double width, double height, double? top, double? left}); } /// @nodoc class __$$WindowPropsImplCopyWithImpl<$Res> extends _$WindowPropsCopyWithImpl<$Res, _$WindowPropsImpl> implements _$$WindowPropsImplCopyWith<$Res> { __$$WindowPropsImplCopyWithImpl( _$WindowPropsImpl _value, $Res Function(_$WindowPropsImpl) _then) : super(_value, _then); /// Create a copy of WindowProps /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? width = null, Object? height = null, Object? top = freezed, Object? left = freezed, }) { return _then(_$WindowPropsImpl( width: null == width ? _value.width : width // ignore: cast_nullable_to_non_nullable as double, height: null == height ? _value.height : height // ignore: cast_nullable_to_non_nullable as double, top: freezed == top ? _value.top : top // ignore: cast_nullable_to_non_nullable as double?, left: freezed == left ? _value.left : left // ignore: cast_nullable_to_non_nullable as double?, )); } } /// @nodoc @JsonSerializable() class _$WindowPropsImpl implements _WindowProps { const _$WindowPropsImpl( {this.width = 900, this.height = 600, this.top, this.left}); factory _$WindowPropsImpl.fromJson(Map json) => _$$WindowPropsImplFromJson(json); @override @JsonKey() final double width; @override @JsonKey() final double height; @override final double? top; @override final double? left; @override String toString() { return 'WindowProps(width: $width, height: $height, top: $top, left: $left)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$WindowPropsImpl && (identical(other.width, width) || other.width == width) && (identical(other.height, height) || other.height == height) && (identical(other.top, top) || other.top == top) && (identical(other.left, left) || other.left == left)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, width, height, top, left); /// Create a copy of WindowProps /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$WindowPropsImplCopyWith<_$WindowPropsImpl> get copyWith => __$$WindowPropsImplCopyWithImpl<_$WindowPropsImpl>(this, _$identity); @override Map toJson() { return _$$WindowPropsImplToJson( this, ); } } abstract class _WindowProps implements WindowProps { const factory _WindowProps( {final double width, final double height, final double? top, final double? left}) = _$WindowPropsImpl; factory _WindowProps.fromJson(Map json) = _$WindowPropsImpl.fromJson; @override double get width; @override double get height; @override double? get top; @override double? get left; /// Create a copy of WindowProps /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$WindowPropsImplCopyWith<_$WindowPropsImpl> get copyWith => throw _privateConstructorUsedError; } VpnProps _$VpnPropsFromJson(Map json) { return _VpnProps.fromJson(json); } /// @nodoc mixin _$VpnProps { bool get enable => throw _privateConstructorUsedError; bool get systemProxy => throw _privateConstructorUsedError; bool get ipv6 => throw _privateConstructorUsedError; bool get allowBypass => throw _privateConstructorUsedError; /// Serializes this VpnProps to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of VpnProps /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $VpnPropsCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $VpnPropsCopyWith<$Res> { factory $VpnPropsCopyWith(VpnProps value, $Res Function(VpnProps) then) = _$VpnPropsCopyWithImpl<$Res, VpnProps>; @useResult $Res call({bool enable, bool systemProxy, bool ipv6, bool allowBypass}); } /// @nodoc class _$VpnPropsCopyWithImpl<$Res, $Val extends VpnProps> implements $VpnPropsCopyWith<$Res> { _$VpnPropsCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of VpnProps /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? enable = null, Object? systemProxy = null, Object? ipv6 = null, Object? allowBypass = null, }) { return _then(_value.copyWith( enable: null == enable ? _value.enable : enable // ignore: cast_nullable_to_non_nullable as bool, systemProxy: null == systemProxy ? _value.systemProxy : systemProxy // ignore: cast_nullable_to_non_nullable as bool, ipv6: null == ipv6 ? _value.ipv6 : ipv6 // ignore: cast_nullable_to_non_nullable as bool, allowBypass: null == allowBypass ? _value.allowBypass : allowBypass // ignore: cast_nullable_to_non_nullable as bool, ) as $Val); } } /// @nodoc abstract class _$$VpnPropsImplCopyWith<$Res> implements $VpnPropsCopyWith<$Res> { factory _$$VpnPropsImplCopyWith( _$VpnPropsImpl value, $Res Function(_$VpnPropsImpl) then) = __$$VpnPropsImplCopyWithImpl<$Res>; @override @useResult $Res call({bool enable, bool systemProxy, bool ipv6, bool allowBypass}); } /// @nodoc class __$$VpnPropsImplCopyWithImpl<$Res> extends _$VpnPropsCopyWithImpl<$Res, _$VpnPropsImpl> implements _$$VpnPropsImplCopyWith<$Res> { __$$VpnPropsImplCopyWithImpl( _$VpnPropsImpl _value, $Res Function(_$VpnPropsImpl) _then) : super(_value, _then); /// Create a copy of VpnProps /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? enable = null, Object? systemProxy = null, Object? ipv6 = null, Object? allowBypass = null, }) { return _then(_$VpnPropsImpl( enable: null == enable ? _value.enable : enable // ignore: cast_nullable_to_non_nullable as bool, systemProxy: null == systemProxy ? _value.systemProxy : systemProxy // ignore: cast_nullable_to_non_nullable as bool, ipv6: null == ipv6 ? _value.ipv6 : ipv6 // ignore: cast_nullable_to_non_nullable as bool, allowBypass: null == allowBypass ? _value.allowBypass : allowBypass // ignore: cast_nullable_to_non_nullable as bool, )); } } /// @nodoc @JsonSerializable() class _$VpnPropsImpl implements _VpnProps { const _$VpnPropsImpl( {this.enable = true, this.systemProxy = true, this.ipv6 = false, this.allowBypass = true}); factory _$VpnPropsImpl.fromJson(Map json) => _$$VpnPropsImplFromJson(json); @override @JsonKey() final bool enable; @override @JsonKey() final bool systemProxy; @override @JsonKey() final bool ipv6; @override @JsonKey() final bool allowBypass; @override String toString() { return 'VpnProps(enable: $enable, systemProxy: $systemProxy, ipv6: $ipv6, allowBypass: $allowBypass)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$VpnPropsImpl && (identical(other.enable, enable) || other.enable == enable) && (identical(other.systemProxy, systemProxy) || other.systemProxy == systemProxy) && (identical(other.ipv6, ipv6) || other.ipv6 == ipv6) && (identical(other.allowBypass, allowBypass) || other.allowBypass == allowBypass)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, enable, systemProxy, ipv6, allowBypass); /// Create a copy of VpnProps /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$VpnPropsImplCopyWith<_$VpnPropsImpl> get copyWith => __$$VpnPropsImplCopyWithImpl<_$VpnPropsImpl>(this, _$identity); @override Map toJson() { return _$$VpnPropsImplToJson( this, ); } } abstract class _VpnProps implements VpnProps { const factory _VpnProps( {final bool enable, final bool systemProxy, final bool ipv6, final bool allowBypass}) = _$VpnPropsImpl; factory _VpnProps.fromJson(Map json) = _$VpnPropsImpl.fromJson; @override bool get enable; @override bool get systemProxy; @override bool get ipv6; @override bool get allowBypass; /// Create a copy of VpnProps /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$VpnPropsImplCopyWith<_$VpnPropsImpl> get copyWith => throw _privateConstructorUsedError; } NetworkProps _$NetworkPropsFromJson(Map json) { return _NetworkProps.fromJson(json); } /// @nodoc mixin _$NetworkProps { bool get systemProxy => throw _privateConstructorUsedError; List get bypassDomain => throw _privateConstructorUsedError; /// Serializes this NetworkProps to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of NetworkProps /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $NetworkPropsCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $NetworkPropsCopyWith<$Res> { factory $NetworkPropsCopyWith( NetworkProps value, $Res Function(NetworkProps) then) = _$NetworkPropsCopyWithImpl<$Res, NetworkProps>; @useResult $Res call({bool systemProxy, List bypassDomain}); } /// @nodoc class _$NetworkPropsCopyWithImpl<$Res, $Val extends NetworkProps> implements $NetworkPropsCopyWith<$Res> { _$NetworkPropsCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of NetworkProps /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? systemProxy = null, Object? bypassDomain = null, }) { return _then(_value.copyWith( systemProxy: null == systemProxy ? _value.systemProxy : systemProxy // ignore: cast_nullable_to_non_nullable as bool, bypassDomain: null == bypassDomain ? _value.bypassDomain : bypassDomain // ignore: cast_nullable_to_non_nullable as List, ) as $Val); } } /// @nodoc abstract class _$$NetworkPropsImplCopyWith<$Res> implements $NetworkPropsCopyWith<$Res> { factory _$$NetworkPropsImplCopyWith( _$NetworkPropsImpl value, $Res Function(_$NetworkPropsImpl) then) = __$$NetworkPropsImplCopyWithImpl<$Res>; @override @useResult $Res call({bool systemProxy, List bypassDomain}); } /// @nodoc class __$$NetworkPropsImplCopyWithImpl<$Res> extends _$NetworkPropsCopyWithImpl<$Res, _$NetworkPropsImpl> implements _$$NetworkPropsImplCopyWith<$Res> { __$$NetworkPropsImplCopyWithImpl( _$NetworkPropsImpl _value, $Res Function(_$NetworkPropsImpl) _then) : super(_value, _then); /// Create a copy of NetworkProps /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? systemProxy = null, Object? bypassDomain = null, }) { return _then(_$NetworkPropsImpl( systemProxy: null == systemProxy ? _value.systemProxy : systemProxy // ignore: cast_nullable_to_non_nullable as bool, bypassDomain: null == bypassDomain ? _value._bypassDomain : bypassDomain // ignore: cast_nullable_to_non_nullable as List, )); } } /// @nodoc @JsonSerializable() class _$NetworkPropsImpl implements _NetworkProps { const _$NetworkPropsImpl( {this.systemProxy = true, final List bypassDomain = defaultBypassDomain}) : _bypassDomain = bypassDomain; factory _$NetworkPropsImpl.fromJson(Map json) => _$$NetworkPropsImplFromJson(json); @override @JsonKey() final bool systemProxy; final List _bypassDomain; @override @JsonKey() List get bypassDomain { if (_bypassDomain is EqualUnmodifiableListView) return _bypassDomain; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_bypassDomain); } @override String toString() { return 'NetworkProps(systemProxy: $systemProxy, bypassDomain: $bypassDomain)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$NetworkPropsImpl && (identical(other.systemProxy, systemProxy) || other.systemProxy == systemProxy) && const DeepCollectionEquality() .equals(other._bypassDomain, _bypassDomain)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, systemProxy, const DeepCollectionEquality().hash(_bypassDomain)); /// Create a copy of NetworkProps /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$NetworkPropsImplCopyWith<_$NetworkPropsImpl> get copyWith => __$$NetworkPropsImplCopyWithImpl<_$NetworkPropsImpl>(this, _$identity); @override Map toJson() { return _$$NetworkPropsImplToJson( this, ); } } abstract class _NetworkProps implements NetworkProps { const factory _NetworkProps( {final bool systemProxy, final List bypassDomain}) = _$NetworkPropsImpl; factory _NetworkProps.fromJson(Map json) = _$NetworkPropsImpl.fromJson; @override bool get systemProxy; @override List get bypassDomain; /// Create a copy of NetworkProps /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$NetworkPropsImplCopyWith<_$NetworkPropsImpl> get copyWith => throw _privateConstructorUsedError; } ProxiesStyle _$ProxiesStyleFromJson(Map json) { return _ProxiesStyle.fromJson(json); } /// @nodoc mixin _$ProxiesStyle { ProxiesType get type => throw _privateConstructorUsedError; ProxiesSortType get sortType => throw _privateConstructorUsedError; ProxiesLayout get layout => throw _privateConstructorUsedError; ProxiesIconStyle get iconStyle => throw _privateConstructorUsedError; ProxyCardType get cardType => throw _privateConstructorUsedError; Map get iconMap => throw _privateConstructorUsedError; /// Serializes this ProxiesStyle to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of ProxiesStyle /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ProxiesStyleCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProxiesStyleCopyWith<$Res> { factory $ProxiesStyleCopyWith( ProxiesStyle value, $Res Function(ProxiesStyle) then) = _$ProxiesStyleCopyWithImpl<$Res, ProxiesStyle>; @useResult $Res call( {ProxiesType type, ProxiesSortType sortType, ProxiesLayout layout, ProxiesIconStyle iconStyle, ProxyCardType cardType, Map iconMap}); } /// @nodoc class _$ProxiesStyleCopyWithImpl<$Res, $Val extends ProxiesStyle> implements $ProxiesStyleCopyWith<$Res> { _$ProxiesStyleCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ProxiesStyle /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? type = null, Object? sortType = null, Object? layout = null, Object? iconStyle = null, Object? cardType = null, Object? iconMap = null, }) { return _then(_value.copyWith( type: null == type ? _value.type : type // ignore: cast_nullable_to_non_nullable as ProxiesType, sortType: null == sortType ? _value.sortType : sortType // ignore: cast_nullable_to_non_nullable as ProxiesSortType, layout: null == layout ? _value.layout : layout // ignore: cast_nullable_to_non_nullable as ProxiesLayout, iconStyle: null == iconStyle ? _value.iconStyle : iconStyle // ignore: cast_nullable_to_non_nullable as ProxiesIconStyle, cardType: null == cardType ? _value.cardType : cardType // ignore: cast_nullable_to_non_nullable as ProxyCardType, iconMap: null == iconMap ? _value.iconMap : iconMap // ignore: cast_nullable_to_non_nullable as Map, ) as $Val); } } /// @nodoc abstract class _$$ProxiesStyleImplCopyWith<$Res> implements $ProxiesStyleCopyWith<$Res> { factory _$$ProxiesStyleImplCopyWith( _$ProxiesStyleImpl value, $Res Function(_$ProxiesStyleImpl) then) = __$$ProxiesStyleImplCopyWithImpl<$Res>; @override @useResult $Res call( {ProxiesType type, ProxiesSortType sortType, ProxiesLayout layout, ProxiesIconStyle iconStyle, ProxyCardType cardType, Map iconMap}); } /// @nodoc class __$$ProxiesStyleImplCopyWithImpl<$Res> extends _$ProxiesStyleCopyWithImpl<$Res, _$ProxiesStyleImpl> implements _$$ProxiesStyleImplCopyWith<$Res> { __$$ProxiesStyleImplCopyWithImpl( _$ProxiesStyleImpl _value, $Res Function(_$ProxiesStyleImpl) _then) : super(_value, _then); /// Create a copy of ProxiesStyle /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? type = null, Object? sortType = null, Object? layout = null, Object? iconStyle = null, Object? cardType = null, Object? iconMap = null, }) { return _then(_$ProxiesStyleImpl( type: null == type ? _value.type : type // ignore: cast_nullable_to_non_nullable as ProxiesType, sortType: null == sortType ? _value.sortType : sortType // ignore: cast_nullable_to_non_nullable as ProxiesSortType, layout: null == layout ? _value.layout : layout // ignore: cast_nullable_to_non_nullable as ProxiesLayout, iconStyle: null == iconStyle ? _value.iconStyle : iconStyle // ignore: cast_nullable_to_non_nullable as ProxiesIconStyle, cardType: null == cardType ? _value.cardType : cardType // ignore: cast_nullable_to_non_nullable as ProxyCardType, iconMap: null == iconMap ? _value._iconMap : iconMap // ignore: cast_nullable_to_non_nullable as Map, )); } } /// @nodoc @JsonSerializable() class _$ProxiesStyleImpl implements _ProxiesStyle { const _$ProxiesStyleImpl( {this.type = ProxiesType.tab, this.sortType = ProxiesSortType.none, this.layout = ProxiesLayout.standard, this.iconStyle = ProxiesIconStyle.standard, this.cardType = ProxyCardType.expand, final Map iconMap = const {}}) : _iconMap = iconMap; factory _$ProxiesStyleImpl.fromJson(Map json) => _$$ProxiesStyleImplFromJson(json); @override @JsonKey() final ProxiesType type; @override @JsonKey() final ProxiesSortType sortType; @override @JsonKey() final ProxiesLayout layout; @override @JsonKey() final ProxiesIconStyle iconStyle; @override @JsonKey() final ProxyCardType cardType; final Map _iconMap; @override @JsonKey() Map get iconMap { if (_iconMap is EqualUnmodifiableMapView) return _iconMap; // ignore: implicit_dynamic_type return EqualUnmodifiableMapView(_iconMap); } @override String toString() { return 'ProxiesStyle(type: $type, sortType: $sortType, layout: $layout, iconStyle: $iconStyle, cardType: $cardType, iconMap: $iconMap)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProxiesStyleImpl && (identical(other.type, type) || other.type == type) && (identical(other.sortType, sortType) || other.sortType == sortType) && (identical(other.layout, layout) || other.layout == layout) && (identical(other.iconStyle, iconStyle) || other.iconStyle == iconStyle) && (identical(other.cardType, cardType) || other.cardType == cardType) && const DeepCollectionEquality().equals(other._iconMap, _iconMap)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, type, sortType, layout, iconStyle, cardType, const DeepCollectionEquality().hash(_iconMap)); /// Create a copy of ProxiesStyle /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ProxiesStyleImplCopyWith<_$ProxiesStyleImpl> get copyWith => __$$ProxiesStyleImplCopyWithImpl<_$ProxiesStyleImpl>(this, _$identity); @override Map toJson() { return _$$ProxiesStyleImplToJson( this, ); } } abstract class _ProxiesStyle implements ProxiesStyle { const factory _ProxiesStyle( {final ProxiesType type, final ProxiesSortType sortType, final ProxiesLayout layout, final ProxiesIconStyle iconStyle, final ProxyCardType cardType, final Map iconMap}) = _$ProxiesStyleImpl; factory _ProxiesStyle.fromJson(Map json) = _$ProxiesStyleImpl.fromJson; @override ProxiesType get type; @override ProxiesSortType get sortType; @override ProxiesLayout get layout; @override ProxiesIconStyle get iconStyle; @override ProxyCardType get cardType; @override Map get iconMap; /// Create a copy of ProxiesStyle /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ProxiesStyleImplCopyWith<_$ProxiesStyleImpl> get copyWith => throw _privateConstructorUsedError; } ThemeProps _$ThemePropsFromJson(Map json) { return _ThemeProps.fromJson(json); } /// @nodoc mixin _$ThemeProps { int? get primaryColor => throw _privateConstructorUsedError; ThemeMode get themeMode => throw _privateConstructorUsedError; bool get prueBlack => throw _privateConstructorUsedError; FontFamily get fontFamily => throw _privateConstructorUsedError; /// Serializes this ThemeProps to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of ThemeProps /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ThemePropsCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ThemePropsCopyWith<$Res> { factory $ThemePropsCopyWith( ThemeProps value, $Res Function(ThemeProps) then) = _$ThemePropsCopyWithImpl<$Res, ThemeProps>; @useResult $Res call( {int? primaryColor, ThemeMode themeMode, bool prueBlack, FontFamily fontFamily}); } /// @nodoc class _$ThemePropsCopyWithImpl<$Res, $Val extends ThemeProps> implements $ThemePropsCopyWith<$Res> { _$ThemePropsCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ThemeProps /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? primaryColor = freezed, Object? themeMode = null, Object? prueBlack = null, Object? fontFamily = null, }) { return _then(_value.copyWith( primaryColor: freezed == primaryColor ? _value.primaryColor : primaryColor // ignore: cast_nullable_to_non_nullable as int?, themeMode: null == themeMode ? _value.themeMode : themeMode // ignore: cast_nullable_to_non_nullable as ThemeMode, 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 _$$ThemePropsImplCopyWith<$Res> implements $ThemePropsCopyWith<$Res> { factory _$$ThemePropsImplCopyWith( _$ThemePropsImpl value, $Res Function(_$ThemePropsImpl) then) = __$$ThemePropsImplCopyWithImpl<$Res>; @override @useResult $Res call( {int? primaryColor, ThemeMode themeMode, bool prueBlack, FontFamily fontFamily}); } /// @nodoc class __$$ThemePropsImplCopyWithImpl<$Res> extends _$ThemePropsCopyWithImpl<$Res, _$ThemePropsImpl> implements _$$ThemePropsImplCopyWith<$Res> { __$$ThemePropsImplCopyWithImpl( _$ThemePropsImpl _value, $Res Function(_$ThemePropsImpl) _then) : super(_value, _then); /// Create a copy of ThemeProps /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? primaryColor = freezed, Object? themeMode = null, Object? prueBlack = null, Object? fontFamily = null, }) { return _then(_$ThemePropsImpl( primaryColor: freezed == primaryColor ? _value.primaryColor : primaryColor // ignore: cast_nullable_to_non_nullable as int?, themeMode: null == themeMode ? _value.themeMode : themeMode // ignore: cast_nullable_to_non_nullable as ThemeMode, 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 @JsonSerializable() class _$ThemePropsImpl implements _ThemeProps { const _$ThemePropsImpl( {this.primaryColor, this.themeMode = ThemeMode.system, this.prueBlack = false, this.fontFamily = FontFamily.system}); factory _$ThemePropsImpl.fromJson(Map json) => _$$ThemePropsImplFromJson(json); @override final int? primaryColor; @override @JsonKey() final ThemeMode themeMode; @override @JsonKey() final bool prueBlack; @override @JsonKey() final FontFamily fontFamily; @override String toString() { return 'ThemeProps(primaryColor: $primaryColor, themeMode: $themeMode, prueBlack: $prueBlack, fontFamily: $fontFamily)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ThemePropsImpl && (identical(other.primaryColor, primaryColor) || other.primaryColor == primaryColor) && (identical(other.themeMode, themeMode) || other.themeMode == themeMode) && (identical(other.prueBlack, prueBlack) || other.prueBlack == prueBlack) && (identical(other.fontFamily, fontFamily) || other.fontFamily == fontFamily)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, primaryColor, themeMode, prueBlack, fontFamily); /// Create a copy of ThemeProps /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ThemePropsImplCopyWith<_$ThemePropsImpl> get copyWith => __$$ThemePropsImplCopyWithImpl<_$ThemePropsImpl>(this, _$identity); @override Map toJson() { return _$$ThemePropsImplToJson( this, ); } } abstract class _ThemeProps implements ThemeProps { const factory _ThemeProps( {final int? primaryColor, final ThemeMode themeMode, final bool prueBlack, final FontFamily fontFamily}) = _$ThemePropsImpl; factory _ThemeProps.fromJson(Map json) = _$ThemePropsImpl.fromJson; @override int? get primaryColor; @override ThemeMode get themeMode; @override bool get prueBlack; @override FontFamily get fontFamily; /// Create a copy of ThemeProps /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ThemePropsImplCopyWith<_$ThemePropsImpl> get copyWith => throw _privateConstructorUsedError; }