textToSpeech method

  1. @override
Future<TTSResponse> textToSpeech(
  1. TTSRequest request
)
override

Convert text to speech with full configuration support

Throws UnsupportedError if not supported. Check supportedFeatures first.

Implementation

@override
Future<TTSResponse> textToSpeech(TTSRequest request) async {
  return _audio.textToSpeech(request);
}