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