toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'countryCode': countryCode,
    'country': country,
    'adminArea': adminArea,
    'subAdminArea': subAdminArea,
    'locality': locality,
    'subLocality': subLocality,
    'thoroughfare': thoroughfare,
    'postalCode': postalCode,
    'streetNumber': streetNumber,
    'tertiaryAdminArea': tertiaryAdminArea,
  };
}