Line data Source code
1 : // GENERATED CODE - DO NOT MODIFY BY HAND
2 :
3 : part of 'update_settings_action.dart';
4 :
5 : // **************************************************************************
6 : // JsonSerializableGenerator
7 : // **************************************************************************
8 :
9 0 : _$_UpdateSettingsAction _$$_UpdateSettingsActionFromJson(
10 : Map<String, dynamic> json) =>
11 0 : _$_UpdateSettingsAction(
12 0 : platform: $enumDecode(_$PlatformsEnumEnumMap, json['platform']),
13 : );
14 :
15 0 : Map<String, dynamic> _$$_UpdateSettingsActionToJson(
16 : _$_UpdateSettingsAction instance) =>
17 0 : <String, dynamic>{
18 0 : 'platform': _$PlatformsEnumEnumMap[instance.platform],
19 : };
20 :
21 : const _$PlatformsEnumEnumMap = {
22 : PlatformsEnum.web: 'WEB',
23 : PlatformsEnum.android: 'ANDROID',
24 : PlatformsEnum.iOS: 'IOS',
25 : PlatformsEnum.macOS: 'MACOS',
26 : PlatformsEnum.fuchsia: 'FUCHSIA',
27 : PlatformsEnum.linux: 'LINUX',
28 : PlatformsEnum.windows: 'WINDOWS',
29 : PlatformsEnum.unknown: 'UNKNOWN',
30 : };
|