GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText.fromJson constructor
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText.fromJson(
- Map json_
Implementation
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText.fromJson(
core.Map json_)
: this(
matches: json_.containsKey('matches')
? (json_['matches'] as core.List)
.map((value) =>
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
text: json_.containsKey('text') ? json_['text'] as core.String : null,
);