getLanguageCodeByName method
Returns language code by given languageName
languageName
should be from locales from text_to_speech_platform_interface
Implementation
Future<String?> getLanguageCodeByName(String languageName) =>
TextToSpeechPlatform.instance.getLanguageCodeByName(languageName);