toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (country != null) 'country': country!,
  if (locality != null) 'locality': locality!,
  if (postalCode != null) 'postalCode': postalCode!,
  if (recipientName != null) 'recipientName': recipientName!,
  if (region != null) 'region': region!,
  if (streetAddress != null) 'streetAddress': streetAddress!,
};