GeocodingResult.fromJson constructor

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

Implementation

GeocodingResult.fromJson(Map<String, dynamic> json) {
  if (json['geocodeAddressList'] != null) {
    geocodeAddressList = <GeocodeAddress>[];
    json['geocodeAddressList'].forEach((v) {
      geocodeAddressList!.add(GeocodeAddress.fromJson(v));
    });
  }
}