GoogleCloudDialogflowV2IntentMessage.fromJson constructor
GoogleCloudDialogflowV2IntentMessage.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2IntentMessage.fromJson(core.Map json_)
: this(
basicCard: json_.containsKey('basicCard')
? GoogleCloudDialogflowV2IntentMessageBasicCard.fromJson(
json_['basicCard'] as core.Map<core.String, core.dynamic>)
: null,
browseCarouselCard: json_.containsKey('browseCarouselCard')
? GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard.fromJson(
json_['browseCarouselCard']
as core.Map<core.String, core.dynamic>)
: null,
card: json_.containsKey('card')
? GoogleCloudDialogflowV2IntentMessageCard.fromJson(
json_['card'] as core.Map<core.String, core.dynamic>)
: null,
carouselSelect: json_.containsKey('carouselSelect')
? GoogleCloudDialogflowV2IntentMessageCarouselSelect.fromJson(
json_['carouselSelect']
as core.Map<core.String, core.dynamic>)
: null,
image: json_.containsKey('image')
? GoogleCloudDialogflowV2IntentMessageImage.fromJson(
json_['image'] as core.Map<core.String, core.dynamic>)
: null,
linkOutSuggestion: json_.containsKey('linkOutSuggestion')
? GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion.fromJson(
json_['linkOutSuggestion']
as core.Map<core.String, core.dynamic>)
: null,
listSelect: json_.containsKey('listSelect')
? GoogleCloudDialogflowV2IntentMessageListSelect.fromJson(
json_['listSelect'] as core.Map<core.String, core.dynamic>)
: null,
mediaContent: json_.containsKey('mediaContent')
? GoogleCloudDialogflowV2IntentMessageMediaContent.fromJson(
json_['mediaContent'] as core.Map<core.String, core.dynamic>)
: null,
payload: json_.containsKey('payload')
? json_['payload'] as core.Map<core.String, core.dynamic>
: null,
platform: json_.containsKey('platform')
? json_['platform'] as core.String
: null,
quickReplies: json_.containsKey('quickReplies')
? GoogleCloudDialogflowV2IntentMessageQuickReplies.fromJson(
json_['quickReplies'] as core.Map<core.String, core.dynamic>)
: null,
simpleResponses: json_.containsKey('simpleResponses')
? GoogleCloudDialogflowV2IntentMessageSimpleResponses.fromJson(
json_['simpleResponses']
as core.Map<core.String, core.dynamic>)
: null,
suggestions: json_.containsKey('suggestions')
? GoogleCloudDialogflowV2IntentMessageSuggestions.fromJson(
json_['suggestions'] as core.Map<core.String, core.dynamic>)
: null,
tableCard: json_.containsKey('tableCard')
? GoogleCloudDialogflowV2IntentMessageTableCard.fromJson(
json_['tableCard'] as core.Map<core.String, core.dynamic>)
: null,
text: json_.containsKey('text')
? GoogleCloudDialogflowV2IntentMessageText.fromJson(
json_['text'] as core.Map<core.String, core.dynamic>)
: null,
);