GoogleCloudDialogflowV2ImportDocumentTemplate.fromJson constructor
GoogleCloudDialogflowV2ImportDocumentTemplate.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2ImportDocumentTemplate.fromJson(core.Map json_)
: this(
knowledgeTypes: json_.containsKey('knowledgeTypes')
? (json_['knowledgeTypes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
metadata: json_.containsKey('metadata')
? (json_['metadata'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
mimeType: json_.containsKey('mimeType')
? json_['mimeType'] as core.String
: null,
);