textToSpeechStream method

Stream<AudioStreamEvent> textToSpeechStream(
  1. TTSRequest request
)

Convert text to speech with streaming output

Throws UnsupportedError if not supported. Check supportedFeatures first.

Implementation

Stream<AudioStreamEvent> textToSpeechStream(TTSRequest request) {
  throw UnsupportedError(
      'Streaming text-to-speech not supported by this provider');
}