toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (address1 != null) 'address1': address1!,
  if (address2 != null) 'address2': address2!,
  if (city != null) 'city': city!,
  if (company != null) 'company': company!,
  if (contact != null) 'contact': contact!,
  if (fax != null) 'fax': fax!,
  if (phone != null) 'phone': phone!,
  if (regionCode != null) 'regionCode': regionCode!,
  if (state != null) 'state': state!,
  if (zip != null) 'zip': zip!,
};