LongRunningRecognizeRequest constructor

LongRunningRecognizeRequest({
  1. RecognitionConfig? config,
  2. RecognitionAudio? audio,
  3. TranscriptOutputConfig? outputConfig,
})

Implementation

factory LongRunningRecognizeRequest({
  RecognitionConfig? config,
  RecognitionAudio? audio,
  TranscriptOutputConfig? outputConfig,
}) {
  final $result = create();
  if (config != null) {
    $result.config = config;
  }
  if (audio != null) {
    $result.audio = audio;
  }
  if (outputConfig != null) {
    $result.outputConfig = outputConfig;
  }
  return $result;
}