QueryInput constructor

QueryInput({
  1. TextInput? text,
  2. EventInput? event,
})

Represents the query input. It can contain either:

  1. An audio config which instructs the speech recognizer how to process the speech audio.

  2. A conversational query in the form of text,.

  3. An event that specifies which intent to trigger.

Implementation

QueryInput({
  this.text,
  this.event,
});