GoogleCloudDialogflowV2FewShotExample.fromJson constructor
GoogleCloudDialogflowV2FewShotExample.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2FewShotExample.fromJson(core.Map json_)
: this(
conversationContext: json_.containsKey('conversationContext')
? GoogleCloudDialogflowV2ConversationContext.fromJson(
json_['conversationContext']
as core.Map<core.String, core.dynamic>)
: null,
extraInfo: json_.containsKey('extraInfo')
? (json_['extraInfo'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
output: json_.containsKey('output')
? GoogleCloudDialogflowV2GeneratorSuggestion.fromJson(
json_['output'] as core.Map<core.String, core.dynamic>)
: null,
summarizationSectionList:
json_.containsKey('summarizationSectionList')
? GoogleCloudDialogflowV2SummarizationSectionList.fromJson(
json_['summarizationSectionList']
as core.Map<core.String, core.dynamic>)
: null,
);