toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final cesDebugInfo = this.cesDebugInfo;
  final datastoreResponseReason = this.datastoreResponseReason;
  final ingestedContextReferenceDebugInfo =
      this.ingestedContextReferenceDebugInfo;
  final knowledgeAssistBehavior = this.knowledgeAssistBehavior;
  final queryCategorizationFailureReason =
      this.queryCategorizationFailureReason;
  final queryGenerationDebugInfo = this.queryGenerationDebugInfo;
  final queryGenerationFailureReason = this.queryGenerationFailureReason;
  final serviceLatency = this.serviceLatency;
  return {
    'cesDebugInfo': ?cesDebugInfo,
    'datastoreResponseReason': ?datastoreResponseReason,
    'ingestedContextReferenceDebugInfo': ?ingestedContextReferenceDebugInfo,
    'knowledgeAssistBehavior': ?knowledgeAssistBehavior,
    'queryCategorizationFailureReason': ?queryCategorizationFailureReason,
    'queryGenerationDebugInfo': ?queryGenerationDebugInfo,
    'queryGenerationFailureReason': ?queryGenerationFailureReason,
    'serviceLatency': ?serviceLatency,
  };
}