toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.serviceType != null) {
json[r'serviceType'] = this.serviceType;
} else {
json[r'serviceType'] = null;
}
if (this.deliveryType != null) {
json[r'deliveryType'] = this.deliveryType;
} else {
json[r'deliveryType'] = null;
}
return json;
}