AddressComponents.fromJson constructor
Implementation
AddressComponents.fromJson(Map<String, dynamic> json) {
if (json["long_name"] is String) longName = json["long_name"];
if (json["short_name"] is String) shortName = json["short_name"];
if (json["types"] is List) {
types = json["types"] == null ? null : List<String>.from(json["types"]);
}
}