// GENERATED CODE - DO NOT MODIFY BY HAND part of 'config.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** _ThemeColors _$ThemeColorsFromJson(Map json) => _ThemeColors( primary: (json['primary'] as num?)?.toInt(), secondary: (json['secondary'] as num?)?.toInt(), tertiary: (json['tertiary'] as num?)?.toInt(), surface: (json['surface'] as num?)?.toInt(), background: (json['background'] as num?)?.toInt(), error: (json['error'] as num?)?.toInt(), ); Map _$ThemeColorsToJson(_ThemeColors instance) => { 'primary': instance.primary, 'secondary': instance.secondary, 'tertiary': instance.tertiary, 'surface': instance.surface, 'background': instance.background, 'error': instance.error, }; _DashboardConfig _$DashboardConfigFromJson(Map json) => _DashboardConfig( verticalLayouts: (json['vertical_layouts'] as List) .map((e) => e as String) .toList(), horizontalLayouts: (json['horizontal_layouts'] as List) .map((e) => e as String) .toList(), showSearchBar: json['show_search_bar'] as bool, showClockAndCountdown: json['show_clock_and_countdown'] as bool, ); Map _$DashboardConfigToJson(_DashboardConfig instance) => { 'vertical_layouts': instance.verticalLayouts, 'horizontal_layouts': instance.horizontalLayouts, 'show_search_bar': instance.showSearchBar, 'show_clock_and_countdown': instance.showClockAndCountdown, }; // ************************************************************************** // RiverpodGenerator // ************************************************************************** // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint, type=warning @ProviderFor(AppSettingsNotifier) final appSettingsProvider = AppSettingsNotifierProvider._(); final class AppSettingsNotifierProvider extends $NotifierProvider { AppSettingsNotifierProvider._() : super( from: null, argument: null, retry: null, name: r'appSettingsProvider', isAutoDispose: true, dependencies: null, $allTransitiveDependencies: null, ); @override String debugGetCreateSourceHash() => _$appSettingsNotifierHash(); @$internal @override AppSettingsNotifier create() => AppSettingsNotifier(); /// {@macro riverpod.override_with_value} Override overrideWithValue(AppSettings value) { return $ProviderOverride( origin: this, providerOverride: $SyncValueProvider(value), ); } } String _$appSettingsNotifierHash() => r'0a7f75bd95850b0c564b29c57912ec8fcac53f09'; abstract class _$AppSettingsNotifier extends $Notifier { AppSettings build(); @$mustCallSuper @override void runBuild() { final ref = this.ref as $Ref; final element = ref.element as $ClassProviderElement< AnyNotifier, AppSettings, Object?, Object? >; element.handleCreate(ref, build); } }