Line data Source code
1 : // GENERATED CODE - DO NOT MODIFY BY HAND
2 :
3 : part of 'theme_set.dart';
4 :
5 : // **************************************************************************
6 : // JsonSerializableGenerator
7 : // **************************************************************************
8 :
9 2 : _$_ThemeSet _$$_ThemeSetFromJson(Map<String, dynamic> json) => _$_ThemeSet(
10 2 : colors: ThemeColors.fromJson(json['colors'] as Map<String, dynamic>),
11 2 : brightness: $enumDecode(_$ThemeBrightnessEnumEnumMap, json['brightness']),
12 : );
13 :
14 2 : Map<String, dynamic> _$$_ThemeSetToJson(_$_ThemeSet instance) =>
15 2 : <String, dynamic>{
16 2 : 'colors': instance.colors,
17 4 : 'brightness': _$ThemeBrightnessEnumEnumMap[instance.brightness],
18 : };
19 :
20 : const _$ThemeBrightnessEnumEnumMap = {
21 : ThemeBrightnessEnum.light: 'LIGHT',
22 : ThemeBrightnessEnum.dark: 'DARK',
23 : };
|