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.

34 lines
1.1 KiB

4 years ago
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});
4 years ago
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,
);
4 years ago
4 years ago
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,
};
4 years ago
}