GeocoderResponse.fromJson constructor

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

Implementation

GeocoderResponse.fromJson(Map<String, dynamic> json) {
  for (var element in json['results']) {
    results.add(GeocoderResult.fromJson(element));
  }
}