toJson method
Implementation
Map<String, dynamic> toJson() {
final data = <String, dynamic>{};
data['address'] = address;
if (zipCode != null) data['zipCode'] = zipCode;
data['contactName'] = contactName;
data['city'] = city;
data['country'] = country;
return data;
}