-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregion.g.dart
executable file
·41 lines (35 loc) · 1.22 KB
/
region.g.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'region.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
RegionData _$RegionDataFromJson(Map<String, dynamic> json) {
return RegionData()
..code = json['code'] as int
..msg = json['msg'] as String
..data = (json['data'] as List)
?.map((e) =>
e == null ? null : RegionInfo.fromJson(e as Map<String, dynamic>))
?.toList();
}
Map<String, dynamic> _$RegionDataToJson(RegionData instance) =>
<String, dynamic>{
'code': instance.code,
'msg': instance.msg,
'data': instance.data,
};
RegionInfo _$RegionInfoFromJson(Map<String, dynamic> json) {
return RegionInfo()
..id = json['id'] as String
..name = json['name'] as String
..children = (json['children'] as List)
?.map((e) =>
e == null ? null : RegionInfo.fromJson(e as Map<String, dynamic>))
?.toList();
}
Map<String, dynamic> _$RegionInfoToJson(RegionInfo instance) =>
<String, dynamic>{
'id': instance.id,
'name': instance.name,
'children': instance.children,
};