textToSpeechStream method

  1. @override
Stream<AudioStreamEvent> textToSpeechStream(
  1. TTSRequest request
)
override

Convert text to speech with streaming output

Throws UnsupportedError if not supported. Check supportedFeatures first.

Implementation

@override
Stream<AudioStreamEvent> textToSpeechStream(TTSRequest request) {
  return _audio.textToSpeechStream(request);
}