user.g.dart
1.33 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
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'user.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
User _$UserFromJson(Map<String, dynamic> json) {
return User(
json['openid'] as String,
json['account'] as String,
json['role_name'] as String,
json['sellerid'] as String,
json['sellercode'] as String,
json['sellername'] as String,
json['sellerphone'] as String,
json['sellerAddr'] as String,
json['scatter'] as int,
json['room'] as int,
json['cassette'] as int,
json['morning'] as String,
json['noon'] as String,
json['night'] as String);
}
Map<String, dynamic> _$UserToJson(User instance) => <String, dynamic>{
'openid': instance.openid,
'account': instance.account,
'role_name': instance.role_name,
'sellerid': instance.sellerid,
'sellercode': instance.sellercode,
'sellername': instance.sellername,
'sellerphone': instance.sellerphone,
'sellerAddr': instance.sellerAddr,
'scatter': instance.scatter,
'room': instance.room,
'cassette': instance.cassette,
'morning': instance.morning,
'noon': instance.noon,
'night': instance.night
};