toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (address != null) 'address': address!,
      if (administrativeArea != null)
        'administrativeArea': administrativeArea!,
      if (locality != null) 'locality': locality!,
      if (postalCode != null) 'postalCode': postalCode!,
      if (recipient != null) 'recipient': recipient!,
      if (regionCode != null) 'regionCode': regionCode!,
    };