getText abstract method

Future<SpeechToTextResponse> getText({
  1. required Stream<List<int>> stream,
  2. SpeechToTextOptions? options,
  3. CancellationToken? cancellationToken,
})

Transcribes the given audio stream.

Implementation

Future<SpeechToTextResponse> getText({
  required Stream<List<int>> stream,
  SpeechToTextOptions? options,
  CancellationToken? cancellationToken,
});