OctaGeoCoderEntity.fromJson constructor
OctaGeoCoderEntity.fromJson(
- Map<String, dynamic> json
)
Implementation
factory OctaGeoCoderEntity.fromJson(Map<String, dynamic> json) => OctaGeoCoderEntity(
placeId: json["place_id"],
licence: json["licence"],
osmType: json["osm_type"],
osmId: json["osm_id"],
lat: json["lat"],
lon: json["lon"],
placeRank: json["place_rank"],
category: json["category"],
type: json["type"],
importance: json["importance"].toDouble(),
addresstype: json["addresstype"],
name: json["name"],
displayName: json["display_name"],
address: Address.fromJson(json["address"]),
boundingbox: List<String>.from(json["boundingbox"].map((x) => x)),
);