toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'customerName'] = this.customerName;
json[r'address1'] = this.address1;
json[r'city'] = this.city;
json[r'region'] = this.region;
json[r'postalCode'] = this.postalCode;
json[r'isoCountryCode'] = this.isoCountryCode;
if (this.displayName != null) {
json[r'displayName'] = this.displayName;
} else {
json[r'displayName'] = null;
}
return json;
}