toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (confidenceThreshold != null)
'confidenceThreshold': confidenceThreshold!,
if (contextFilterSettings != null)
'contextFilterSettings': contextFilterSettings!,
if (dialogflowQuerySource != null)
'dialogflowQuerySource': dialogflowQuerySource!,
if (documentQuerySource != null)
'documentQuerySource': documentQuerySource!,
if (knowledgeBaseQuerySource != null)
'knowledgeBaseQuerySource': knowledgeBaseQuerySource!,
if (maxResults != null) 'maxResults': maxResults!,
if (sections != null) 'sections': sections!,
};