import 'package:json_annotation/json_annotation.dart'; part 'delivery_info.g.dart'; @JsonSerializable() 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 json) => _$DeliveryInfoFromJson(json); Map toJson() => _$DeliveryInfoToJson(this); }