QueryResult constructor

QueryResult({
  1. String? queryText,
  2. String? languageCode,
  3. double? speechRecognitionConfidence,
  4. String? action,
  5. Map<String, dynamic>? parameters,
  6. bool? allRequiredParamsPresent,
  7. List<Message>? fulfillmentMessages,
  8. List<Context>? outputContexts,
  9. Intent? intent,
  10. double? intentDetectionConfidence,
  11. Map<String, dynamic>? diagnosticInfo,
  12. 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.fulfillmentMessages,
  this.outputContexts,
  this.intent,
  this.intentDetectionConfidence,
  this.diagnosticInfo,
  this.sentimentAnalysisResult,
});