synthesizeStream abstract method

Stream<TextToSpeechResult> synthesizeStream(
  1. String text,
  2. String? voiceId,
  3. String? locale
)

text in short chunks, each as soon as it is synthesized. Cancelling the subscription cancels Google's stream at once, a read in progress included, and in browsers between chunks.

Implementation

Stream<TextToSpeechResult> synthesizeStream(
  String text,
  String? voiceId,
  String? locale,
);