toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (addressLine1 != null) 'addressLine1': addressLine1!,
      if (addressLine2 != null) 'addressLine2': addressLine2!,
      if (addressLine3 != null) 'addressLine3': addressLine3!,
      if (contactName != null) 'contactName': contactName!,
      if (countryCode != null) 'countryCode': countryCode!,
      if (kind != null) 'kind': kind!,
      if (locality != null) 'locality': locality!,
      if (organizationName != null) 'organizationName': organizationName!,
      if (postalCode != null) 'postalCode': postalCode!,
      if (region != null) 'region': region!,
    };