Line data Source code
1 : // GENERATED CODE - DO NOT MODIFY BY HAND
2 :
3 : part of 'example_app_state.dart';
4 :
5 : // **************************************************************************
6 : // JsonSerializableGenerator
7 : // **************************************************************************
8 :
9 0 : _$_ExampleAppState _$$_ExampleAppStateFromJson(Map<String, dynamic> json) =>
10 0 : _$_ExampleAppState(
11 0 : pages: IList<PageData>.fromJson(
12 0 : json['pages'],
13 0 : (value) => const PageDataConverter()
14 0 : .fromJson(value as Map<String, Object?>)),
15 0 : problems: IList<ProblemInfo>.fromJson(json['problems'],
16 0 : (value) => ProblemInfo.fromJson(value as Map<String, dynamic>)),
17 0 : settings: Settings.fromJson(json['settings'] as Map<String, dynamic>),
18 0 : auth: AuthState.fromJson(json['auth'] as Map<String, dynamic>),
19 0 : profile: json['profile'] == null
20 : ? null
21 0 : : ProfileData.fromJson(json['profile'] as Map<String, dynamic>),
22 : );
23 :
24 0 : Map<String, dynamic> _$$_ExampleAppStateToJson(_$_ExampleAppState instance) =>
25 0 : <String, dynamic>{
26 0 : 'pages': instance.pages.toJson(
27 0 : (value) => const PageDataConverter().toJson(value),
28 : ),
29 0 : 'problems': instance.problems.toJson(
30 0 : (value) => value,
31 : ),
32 0 : 'settings': instance.settings,
33 0 : 'auth': instance.auth,
34 0 : 'profile': instance.profile,
35 : };
|