speech method
Simple text-to-speech conversion (convenience method)
Implementation
@override
Future<List<int>> speech(
String text, {
CancelToken? cancelToken,
}) async {
final response = await textToSpeech(
TTSRequest(text: text),
cancelToken: cancelToken,
);
return response.audioData;
}