toGeocodingMap method

dynamic toGeocodingMap()

Implementation

toGeocodingMap() {
  Map<String, dynamic> map = HashMap();
  map["placeId"] = placeId;
  map["geometry"] = geometry?.toJson();
  map["formattedAddress"] = formattedAddress;
  map["types"] = types?.map((e) => e).toList();
  map["addressComponents"] =
      addressComponents?.map((e) => e.toJson()).toList();
  return map;
}