GoogleMapsPlacesV1AutocompletePlacesResponse.fromJson constructor

GoogleMapsPlacesV1AutocompletePlacesResponse.fromJson(
  1. Map json_
)

Implementation

GoogleMapsPlacesV1AutocompletePlacesResponse.fromJson(core.Map json_)
    : this(
        suggestions: json_.containsKey('suggestions')
            ? (json_['suggestions'] as core.List)
                .map((value) =>
                    GoogleMapsPlacesV1AutocompletePlacesResponseSuggestion
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );