GoogleCloudDialogflowV2SummarizationContext.fromJson constructor
GoogleCloudDialogflowV2SummarizationContext.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2SummarizationContext.fromJson(core.Map json_)
: this(
fewShotExamples: json_.containsKey('fewShotExamples')
? (json_['fewShotExamples'] as core.List)
.map((value) =>
GoogleCloudDialogflowV2FewShotExample.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
outputLanguageCode: json_.containsKey('outputLanguageCode')
? json_['outputLanguageCode'] as core.String
: null,
summarizationSections: json_.containsKey('summarizationSections')
? (json_['summarizationSections'] as core.List)
.map((value) =>
GoogleCloudDialogflowV2SummarizationSection.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
version: json_.containsKey('version')
? json_['version'] as core.String
: null,
);