textToSpeech abstract method
Synthesizes spoken audio from text.
text The text to synthesize.
voice The identifier for the voice to use.
Returns the raw audio bytes (usually MP3).
Implementation
Future<List<int>> textToSpeech(
String text, {
String? voice,
});