textToSpeechStream method
Convert text to speech with streaming output
request - The text-to-speech request
cancelToken - Optional token to cancel the stream
Throws UnsupportedError if not supported. Check supportedFeatures first.
Implementation
Stream<AudioStreamEvent> textToSpeechStream(
TTSRequest request, {
CancelToken? cancelToken,
}) {
throw UnsupportedError(
'Streaming text-to-speech not supported by this provider');
}