getLanguages method

Future<List<String>> getLanguages()

Return list of supported language code (i.e en-US) SpeechSynthesis Web API doesn't provide specific function to get supported language We get it from getVoice function instead

Implementation

Future<List<String>> getLanguages() =>
    TextToSpeechPlatform.instance.getLanguages();