toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (city != null) 'city': city!,
if (country != null) 'country': country!,
if (countryCode != null) 'countryCode': countryCode!,
if (extendedAddress != null) 'extendedAddress': extendedAddress!,
if (formattedType != null) 'formattedType': formattedType!,
if (formattedValue != null) 'formattedValue': formattedValue!,
if (metadata != null) 'metadata': metadata!,
if (poBox != null) 'poBox': poBox!,
if (postalCode != null) 'postalCode': postalCode!,
if (region != null) 'region': region!,
if (streetAddress != null) 'streetAddress': streetAddress!,
if (type != null) 'type': type!,
};