toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'address': address,
      'label': _addressLabelToString[label],
      'customLabel': customLabel,
      'street': street,
      'pobox': pobox,
      'neighborhood': neighborhood,
      'city': city,
      'state': state,
      'postalCode': postalCode,
      'country': country,
      'isoCountry': isoCountry,
      'subAdminArea': subAdminArea,
      'subLocality': subLocality,
    };