GoogleMapsPlacesV1PlaceAddressComponent.fromJson constructor

GoogleMapsPlacesV1PlaceAddressComponent.fromJson(
  1. Map json_
)

Implementation

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