GeocodeResult.fromJson constructor
Implementation
GeocodeResult.fromJson(Map<String, dynamic> json) {
if (json['geocodeAddressList'] != null) {
geocodeAddressList = [];
json['geocodeAddressList'].forEach((v) {
geocodeAddressList?.add(GeocodeAddressList.fromJson(v));
});
}
geocodeQuery = json['geocodeQuery'] != null ? GeocodeQuery.fromJson(json['geocodeQuery']) : null;
}