toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final confidenceThreshold = this.confidenceThreshold;
  final contextFilterSettings = this.contextFilterSettings;
  final contextSize = this.contextSize;
  final dialogflowQuerySource = this.dialogflowQuerySource;
  final documentQuerySource = this.documentQuerySource;
  final knowledgeBaseQuerySource = this.knowledgeBaseQuerySource;
  final maxResults = this.maxResults;
  final sections = this.sections;
  return {
    'confidenceThreshold': ?confidenceThreshold,
    'contextFilterSettings': ?contextFilterSettings,
    'contextSize': ?contextSize,
    'dialogflowQuerySource': ?dialogflowQuerySource,
    'documentQuerySource': ?documentQuerySource,
    'knowledgeBaseQuerySource': ?knowledgeBaseQuerySource,
    'maxResults': ?maxResults,
    'sections': ?sections,
  };
}