GoogleMapsPlacesV1PlaceAddressComponent.fromJson constructor
GoogleMapsPlacesV1PlaceAddressComponent.fromJson(
- Map json_
Implementation
GoogleMapsPlacesV1PlaceAddressComponent.fromJson(core.Map json_)
: this(
languageCode: json_.containsKey('languageCode')
? json_['languageCode'] as core.String
: null,
longText: json_.containsKey('longText')
? json_['longText'] as core.String
: null,
shortText: json_.containsKey('shortText')
? json_['shortText'] as core.String
: null,
types: json_.containsKey('types')
? (json_['types'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);