AddressComponents.fromJson constructor

AddressComponents.fromJson(
  1. Map<String, dynamic> json
)

Implementation

AddressComponents.fromJson(Map<String, dynamic> json) {
  longName = json['long_name'];
  shortName = json['short_name'];
  types = json['types'].cast<String>();
}