textToSpeech method
Convert text to speech with full configuration support
request - The text-to-speech request
cancelToken - Optional token to cancel the request
Throws UnsupportedError if not supported. Check supportedFeatures first.
Implementation
Future<TTSResponse> textToSpeech(
TTSRequest request, {
CancelToken? cancelToken,
}) {
throw UnsupportedError('Text-to-speech not supported by this provider');
}