Address.fromMap constructor
Address.fromMap(
- Map map
Creates an address from a map containing its properties.
Implementation
Address.fromMap(Map map)
: this.coordinates = Coordinates.fromMap(map["coordinates"]),
this.addressLine = map["addressLine"],
this.countryName = map["countryName"],
this.countryCode = map["countryCode"],
this.featureName = map["featureName"],
this.postalCode = map["postalCode"],
this.locality = map["locality"],
this.subLocality = map["subLocality"],
this.adminArea = map["adminArea"],
this.subAdminArea = map["subAdminArea"],
this.thoroughfare = map["thoroughfare"],
this.subThoroughfare = map["subThoroughfare"];