toMap method

Map toMap()

Creates a map from the address properties.

Implementation

Map toMap() => {
      'coordinates': coordinates.toMap(),
      'addressLine': addressLine,
      'countryName': countryName,
      'countryCode': countryCode,
      'featureName': featureName,
      'postalCode': postalCode,
      'locality': locality,
      'subLocality': subLocality,
      'adminArea': adminArea,
      'subAdminArea': subAdminArea,
      'thoroughfare': thoroughfare,
      'subThoroughfare': subThoroughfare,
    };