SearchInfo.fromPhotonAPI constructor

SearchInfo.fromPhotonAPI(
  1. Map data
)

Implementation

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