You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
|
|
class DeliveryInfo { |
|
bool dadaRegStatus; |
|
String dadaSourceId; |
|
bool dadaStatus; |
|
bool dianwodaRegStatus; |
|
bool dianwodaStatus; |
|
bool meituanRegStatus; |
|
bool meituanStatus; |
|
|
|
DeliveryInfo({this.dadaRegStatus, this.dadaSourceId, this.dadaStatus, this.dianwodaRegStatus, this.dianwodaStatus, this.meituanRegStatus, this.meituanStatus}); |
|
|
|
factory DeliveryInfo.fromJson(Map<String, dynamic> json) => DeliveryInfo( |
|
dadaRegStatus: json['dadaRegStatus'] as bool, |
|
dadaSourceId: json['dadaSourceId'] as String, |
|
dadaStatus: json['dadaStatus'] as bool, |
|
dianwodaRegStatus: json['dianwodaRegStatus'] as bool, |
|
dianwodaStatus: json['dianwodaStatus'] as bool, |
|
meituanRegStatus: json['meituanRegStatus'] as bool, |
|
meituanStatus: json['meituanStatus'] as bool, |
|
); |
|
|
|
Map<String, dynamic> toJson() => <String, dynamic>{ |
|
'dadaRegStatus': this.dadaRegStatus, |
|
'dadaSourceId': this.dadaSourceId, |
|
'dadaStatus': this.dadaStatus, |
|
'dianwodaRegStatus': this.dianwodaRegStatus, |
|
'dianwodaStatus': this.dianwodaStatus, |
|
'meituanRegStatus': this.meituanRegStatus, |
|
'meituanStatus': this.meituanStatus, |
|
}; |
|
} |
|
|
|
|