// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'settings.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

Settings _$SettingsFromJson(Map<String, dynamic> json) => Settings(
  appTheme: Settings._themeFromJson(json['appTheme'] as String),
  devToolsEnabled: json['devToolsEnabled'] as bool,
  modulesSettings: ModulesSettings.fromJson(
    json['modulesSettings'] as Map<String, dynamic>,
  ),
  timetableSettings: TimetableSettings.fromJson(
    json['timetableSettings'] as Map<String, dynamic>,
  ),
  timetableFavoritesSettings: TimetableFavoritesSettings.fromJson(
    json['timetableFavoritesSettings'] as Map<String, dynamic>,
  ),
  talkSettings: TalkSettings.fromJson(
    json['talkSettings'] as Map<String, dynamic>,
  ),
  chatBackgroundSettings: ChatBackgroundSettings.fromJson(
    json['chatBackgroundSettings'] as Map<String, dynamic>,
  ),
  fileSettings: FileSettings.fromJson(
    json['fileSettings'] as Map<String, dynamic>,
  ),
  holidaysSettings: HolidaysSettings.fromJson(
    json['holidaysSettings'] as Map<String, dynamic>,
  ),
  fileViewSettings: FileViewSettings.fromJson(
    json['fileViewSettings'] as Map<String, dynamic>,
  ),
  notificationSettings: NotificationSettings.fromJson(
    json['notificationSettings'] as Map<String, dynamic>,
  ),
  devToolsSettings: DevToolsSettings.fromJson(
    json['devToolsSettings'] as Map<String, dynamic>,
  ),
  hapticSettings: HapticSettings.fromJson(
    json['hapticSettings'] as Map<String, dynamic>,
  ),
);

Map<String, dynamic> _$SettingsToJson(Settings instance) => <String, dynamic>{
  'appTheme': Settings._themeToJson(instance.appTheme),
  'devToolsEnabled': instance.devToolsEnabled,
  'modulesSettings': instance.modulesSettings.toJson(),
  'timetableSettings': instance.timetableSettings.toJson(),
  'timetableFavoritesSettings': instance.timetableFavoritesSettings.toJson(),
  'talkSettings': instance.talkSettings.toJson(),
  'chatBackgroundSettings': instance.chatBackgroundSettings.toJson(),
  'fileSettings': instance.fileSettings.toJson(),
  'holidaysSettings': instance.holidaysSettings.toJson(),
  'fileViewSettings': instance.fileViewSettings.toJson(),
  'notificationSettings': instance.notificationSettings.toJson(),
  'devToolsSettings': instance.devToolsSettings.toJson(),
  'hapticSettings': instance.hapticSettings.toJson(),
};
