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