QueryResult constructor

QueryResult({
  1. String? queryText,
  2. String? languageCode,
  3. double? speechRecognitionConfidence,
  4. String? action,
  5. Map<String, dynamic>? parameters,
  6. bool? allRequiredParamsPresent,
  7. bool cancelsSlotFilling = false,
  8. List<Message>? fulfillmentMessages,
  9. String? webhookSource,
  10. Map<String, dynamic>? webhookPayload,
  11. List<Context>? outputContexts,
  12. Intent? intent,
  13. double? intentDetectionConfidence,
  14. Map<String, dynamic>? diagnosticInfo,
  15. SentimentAnalysisResult? sentimentAnalysisResult,
})

Represents the result of conversational query or event processing.

See: https://cloud.google.com/dialogflow/docs/reference/rest/v2/DetectIntentResponse#QueryResult

Implementation

QueryResult({
  this.queryText,
  this.languageCode,
  this.speechRecognitionConfidence,
  this.action,
  this.parameters,
  this.allRequiredParamsPresent,
  this.cancelsSlotFilling = false,
  this.fulfillmentMessages,
  this.webhookSource,
  this.webhookPayload,
  this.outputContexts,
  this.intent,
  this.intentDetectionConfidence,
  this.diagnosticInfo,
  this.sentimentAnalysisResult,
});