getLanguages static method
Implementation
static String getLanguages() {
// Strinfiy the list of languages to JSON format.
return '[' + PlatformDispatcher.instance.locales.map(((locale) => '"${locale.toLanguageTag()}"')).join(',') + ']';
}
static String getLanguages() {
// Strinfiy the list of languages to JSON format.
return '[' + PlatformDispatcher.instance.locales.map(((locale) => '"${locale.toLanguageTag()}"')).join(',') + ']';
}