AddressComponents.fromJson constructor
AddressComponents.fromJson(
- List json
Implementation
AddressComponents.fromJson(List<dynamic> json) {
Map<String, PlaceName> _addressComponents = getAddressObject(json);
this.home = _addressComponents['home'];
this.postalCode = _addressComponents['postal_code'];
this.street = _addressComponents['street'];
this.region = _addressComponents['region'];
this.city = _addressComponents['city'];
this.country = _addressComponents['country'];
this.plusCode = _addressComponents['plus_code'];
}