QueryInput constructor

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

Implementation

factory QueryInput({
  $20.InputAudioConfig? audioConfig,
  TextInput? text,
  EventInput? event,
}) {
  final _result = create();
  if (audioConfig != null) {
    _result.audioConfig = audioConfig;
  }
  if (text != null) {
    _result.text = text;
  }
  if (event != null) {
    _result.event = event;
  }
  return _result;
}