AmapGeocodeModel.fromJson constructor
AmapGeocodeModel.fromJson(
- Map json
Implementation
AmapGeocodeModel.fromJson(Map json) {
json = Map<String, dynamic>.from(json);
adcode = json["adcode"];
building = json["building"];
city = json["city"];
citycode = json["citycode"];
country = json["country"];
district = json["district"];
formattedAddress = json["formattedAddress"];
level = json["level"];
location =
json["location"] == null ? null : Location.fromJson(json["location"]);
neighborhood = json["neighborhood"];
postcode = json["postcode"];
province = json["province"];
township = json["township"];
}