GoogleCloudRetailV2CompleteQueryResponse.fromJson constructor
GoogleCloudRetailV2CompleteQueryResponse.fromJson(
- Map json_
Implementation
GoogleCloudRetailV2CompleteQueryResponse.fromJson(core.Map json_)
: this(
attributionToken: json_.containsKey('attributionToken')
? json_['attributionToken'] as core.String
: null,
completionResults: json_.containsKey('completionResults')
? (json_['completionResults'] as core.List)
.map((value) =>
GoogleCloudRetailV2CompleteQueryResponseCompletionResult
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
recentSearchResults: json_.containsKey('recentSearchResults')
? (json_['recentSearchResults'] as core.List)
.map((value) =>
GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);