statics_model.g.dart
1.24 KB
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
42
43
44
45
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'statics_model.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
StaticsModel _$StaticsModelFromJson(Map<String, dynamic> json) {
return StaticsModel(
json['ret'] as int?,
(json['data'] as List?)
?.map((e) => e == null
? null
: StaticsSunModel.fromJson(e as Map<String, dynamic>))
.toList(),
json['msg'] as String?,
);
}
Map<String, dynamic> _$StaticsModelToJson(StaticsModel instance) =>
<String, dynamic>{
'ret': instance.ret,
'data': instance.data,
'msg': instance.msg,
};
StaticsSunModel _$StaticsSunModelFromJson(Map<String, dynamic> json) {
return StaticsSunModel(
json['rname'] as String?,
json['phone'] as String?,
json['xiaofei'] as String?,
json['renjun'] as String?,
json['cu'] as String?,
);
}
Map<String, dynamic> _$StaticsSunModelToJson(StaticsSunModel instance) =>
<String, dynamic>{
'rname': instance.rname,
'phone': instance.phone,
'xiaofei': instance.xiaofei,
'renjun': instance.renjun,
'cu': instance.cu,
};