DetectIntentResponse constructor

DetectIntentResponse({
  1. required String responseId,
  2. QueryResult? queryResult,
  3. String? outputAudio,
  4. OutputAudioConfig? outputAudioConfig,
})

The message returned from the sessions.detectIntent method.

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

Implementation

DetectIntentResponse({
  required this.responseId,
  this.queryResult,
  this.outputAudio,
  this.outputAudioConfig,
});