AddressComponent.fromJson constructor
Implementation
factory AddressComponent.fromJson(Map<String, dynamic> json) =>
AddressComponent(
longName: json["long_name"],
shortName: json["short_name"],
types:
json["types"] == null
? null
: List<String>.from(json["types"].map((x) => x)),
);