GeocodeAddressList.fromJson constructor

GeocodeAddressList.fromJson(
  1. Map<String, dynamic> json
)

Implementation

GeocodeAddressList.fromJson(Map<String, dynamic> json) {
  adcode = json['adcode'];
  building = json['building'];
  city = json['city'];
  district = json['district'];
  formatAddress = json['formatAddress'];
  latLng = json['latLng'] != null ? LatLng.fromJson(json['latLng']) : null;
  level = json['level'];
  neighborhood = json['neighborhood'];
  province = json['province'];
  township = json['township'];
}