// 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 'settings.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 _$AppSettings { bool get notificationsEnabled => throw _privateConstructorUsedError; bool get darkModeEnabled => throw _privateConstructorUsedError; String get language => throw _privateConstructorUsedError; bool? get soundEnabled => throw _privateConstructorUsedError; bool? get vibrationEnabled => throw _privateConstructorUsedError; String? get themeColor => throw _privateConstructorUsedError; @JsonKey(ignore: true) $AppSettingsCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $AppSettingsCopyWith<$Res> { factory $AppSettingsCopyWith( AppSettings value, $Res Function(AppSettings) then) = _$AppSettingsCopyWithImpl<$Res, AppSettings>; @useResult $Res call( {bool notificationsEnabled, bool darkModeEnabled, String language, bool? soundEnabled, bool? vibrationEnabled, String? themeColor}); } /// @nodoc class _$AppSettingsCopyWithImpl<$Res, $Val extends AppSettings> implements $AppSettingsCopyWith<$Res> { _$AppSettingsCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; @pragma('vm:prefer-inline') @override $Res call({ Object? notificationsEnabled = null, Object? darkModeEnabled = null, Object? language = null, Object? soundEnabled = freezed, Object? vibrationEnabled = freezed, Object? themeColor = freezed, }) { return _then(_value.copyWith( notificationsEnabled: null == notificationsEnabled ? _value.notificationsEnabled : notificationsEnabled // ignore: cast_nullable_to_non_nullable as bool, darkModeEnabled: null == darkModeEnabled ? _value.darkModeEnabled : darkModeEnabled // ignore: cast_nullable_to_non_nullable as bool, language: null == language ? _value.language : language // ignore: cast_nullable_to_non_nullable as String, soundEnabled: freezed == soundEnabled ? _value.soundEnabled : soundEnabled // ignore: cast_nullable_to_non_nullable as bool?, vibrationEnabled: freezed == vibrationEnabled ? _value.vibrationEnabled : vibrationEnabled // ignore: cast_nullable_to_non_nullable as bool?, themeColor: freezed == themeColor ? _value.themeColor : themeColor // ignore: cast_nullable_to_non_nullable as String?, ) as $Val); } } /// @nodoc abstract class _$$AppSettingsImplCopyWith<$Res> implements $AppSettingsCopyWith<$Res> { factory _$$AppSettingsImplCopyWith( _$AppSettingsImpl value, $Res Function(_$AppSettingsImpl) then) = __$$AppSettingsImplCopyWithImpl<$Res>; @override @useResult $Res call( {bool notificationsEnabled, bool darkModeEnabled, String language, bool? soundEnabled, bool? vibrationEnabled, String? themeColor}); } /// @nodoc class __$$AppSettingsImplCopyWithImpl<$Res> extends _$AppSettingsCopyWithImpl<$Res, _$AppSettingsImpl> implements _$$AppSettingsImplCopyWith<$Res> { __$$AppSettingsImplCopyWithImpl( _$AppSettingsImpl _value, $Res Function(_$AppSettingsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @override $Res call({ Object? notificationsEnabled = null, Object? darkModeEnabled = null, Object? language = null, Object? soundEnabled = freezed, Object? vibrationEnabled = freezed, Object? themeColor = freezed, }) { return _then(_$AppSettingsImpl( notificationsEnabled: null == notificationsEnabled ? _value.notificationsEnabled : notificationsEnabled // ignore: cast_nullable_to_non_nullable as bool, darkModeEnabled: null == darkModeEnabled ? _value.darkModeEnabled : darkModeEnabled // ignore: cast_nullable_to_non_nullable as bool, language: null == language ? _value.language : language // ignore: cast_nullable_to_non_nullable as String, soundEnabled: freezed == soundEnabled ? _value.soundEnabled : soundEnabled // ignore: cast_nullable_to_non_nullable as bool?, vibrationEnabled: freezed == vibrationEnabled ? _value.vibrationEnabled : vibrationEnabled // ignore: cast_nullable_to_non_nullable as bool?, themeColor: freezed == themeColor ? _value.themeColor : themeColor // ignore: cast_nullable_to_non_nullable as String?, )); } } /// @nodoc class _$AppSettingsImpl implements _AppSettings { const _$AppSettingsImpl( {required this.notificationsEnabled, required this.darkModeEnabled, required this.language, this.soundEnabled, this.vibrationEnabled, this.themeColor}); @override final bool notificationsEnabled; @override final bool darkModeEnabled; @override final String language; @override final bool? soundEnabled; @override final bool? vibrationEnabled; @override final String? themeColor; @override String toString() { return 'AppSettings(notificationsEnabled: $notificationsEnabled, darkModeEnabled: $darkModeEnabled, language: $language, soundEnabled: $soundEnabled, vibrationEnabled: $vibrationEnabled, themeColor: $themeColor)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$AppSettingsImpl && (identical(other.notificationsEnabled, notificationsEnabled) || other.notificationsEnabled == notificationsEnabled) && (identical(other.darkModeEnabled, darkModeEnabled) || other.darkModeEnabled == darkModeEnabled) && (identical(other.language, language) || other.language == language) && (identical(other.soundEnabled, soundEnabled) || other.soundEnabled == soundEnabled) && (identical(other.vibrationEnabled, vibrationEnabled) || other.vibrationEnabled == vibrationEnabled) && (identical(other.themeColor, themeColor) || other.themeColor == themeColor)); } @override int get hashCode => Object.hash(runtimeType, notificationsEnabled, darkModeEnabled, language, soundEnabled, vibrationEnabled, themeColor); @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') _$$AppSettingsImplCopyWith<_$AppSettingsImpl> get copyWith => __$$AppSettingsImplCopyWithImpl<_$AppSettingsImpl>(this, _$identity); } abstract class _AppSettings implements AppSettings { const factory _AppSettings( {required final bool notificationsEnabled, required final bool darkModeEnabled, required final String language, final bool? soundEnabled, final bool? vibrationEnabled, final String? themeColor}) = _$AppSettingsImpl; @override bool get notificationsEnabled; @override bool get darkModeEnabled; @override String get language; @override bool? get soundEnabled; @override bool? get vibrationEnabled; @override String? get themeColor; @override @JsonKey(ignore: true) _$$AppSettingsImplCopyWith<_$AppSettingsImpl> get copyWith => throw _privateConstructorUsedError; }