RecognizeRequest constructor

RecognizeRequest({
  1. RecognitionConfig? config,
  2. RecognitionAudio? audio,
})

Implementation

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