Address.fromPhotonAPI constructor

Address.fromPhotonAPI(
  1. Map data
)

Implementation

Address.fromPhotonAPI(Map data)
    : postcode = data["postcode"],
      name = data["name"],
      street = data["street"],
      housenumber = data["housenumber"],
      city = data["city"],
      state = data["state"],
      country = data["country"];