SearchInfo.fromPhotonAPI constructor
SearchInfo.fromPhotonAPI(
- Map data
Implementation
SearchInfo.fromPhotonAPI(Map data)
: point = GeoPoint(
latitude: data["geometry"]["coordinates"][1],
longitude: data["geometry"]["coordinates"][0]),
address = Address.fromPhotonAPI(data["properties"]);