ReverseGeo.fromJson constructor

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

Implementation

factory ReverseGeo.fromJson(Map<String, dynamic> json) {
  return ReverseGeo(
    placeId: json['place_id'],
    licence: json['licence'],
    osmType: json['osm_type'],
    osmId: json['osm_id'],
    lat: json['lat'],
    lon: json['lon'],
    displayName: json['display_name'],
    address: Address.fromJson(json['address']),
    boundingBox: List<String>.from(json['boundingbox']),
  );
}