FlutterTtsPlugin constructor
FlutterTtsPlugin()
Implementation
FlutterTtsPlugin() {
try {
utterance = SpeechSynthesisUtterance();
_listeners();
supported = true;
} catch (e) {
print('Initialization of TTS failed. Functions are disabled. Error: $e');
}
}