Line data Source code
1 : // GENERATED CODE - DO NOT MODIFY BY HAND
2 :
3 : part of 'app_state.dart';
4 :
5 : // **************************************************************************
6 : // JsonSerializableGenerator
7 : // **************************************************************************
8 :
9 0 : _$_AppState _$$_AppStateFromJson(Map<String, dynamic> json) => _$_AppState(
10 0 : pages: IList<PageData>.fromJson(
11 0 : json['pages'],
12 0 : (value) => const PageDataConverter()
13 0 : .fromJson(value as Map<String, Object?>)),
14 0 : problems: IList<ProblemInfo>.fromJson(json['problems'],
15 0 : (value) => ProblemInfo.fromJson(value as Map<String, dynamic>)),
16 0 : settings: Settings.fromJson(json['settings'] as Map<String, dynamic>),
17 0 : auth: AuthState.fromJson(json['auth'] as Map<String, dynamic>),
18 0 : profile: json['profile'] == null
19 : ? null
20 0 : : ProfileData.fromJson(json['profile'] as Map<String, dynamic>),
21 0 : organisations: OrganisationsSectionModel.fromJson(
22 0 : json['organisations'] as Map<String, dynamic>),
23 : projects:
24 0 : ProjectsSection.fromJson(json['projects'] as Map<String, dynamic>),
25 0 : sections: SectionsVM.fromJson(json['sections'] as Map<String, dynamic>),
26 0 : teamMember: json['teamMember'] == null
27 : ? null
28 0 : : TeamMember.fromJson(json['teamMember'] as Map<String, dynamic>),
29 : );
30 :
31 0 : Map<String, dynamic> _$$_AppStateToJson(_$_AppState instance) =>
32 0 : <String, dynamic>{
33 0 : 'pages': instance.pages.toJson(
34 0 : (value) => const PageDataConverter().toJson(value),
35 : ),
36 0 : 'problems': instance.problems.toJson(
37 0 : (value) => value.toJson(),
38 : ),
39 0 : 'settings': instance.settings.toJson(),
40 0 : 'auth': instance.auth.toJson(),
41 0 : 'profile': instance.profile?.toJson(),
42 0 : 'organisations': instance.organisations.toJson(),
43 0 : 'projects': instance.projects.toJson(),
44 0 : 'sections': instance.sections.toJson(),
45 0 : 'teamMember': instance.teamMember?.toJson(),
46 : };
|