getLocale static method
Get a Locale from the List of 'supported' Locales.
Implementation
static Locale? getLocale(int index) {
Locale? locale;
final localesList = _supportedLocales;
if (localesList.isNotEmpty && index >= 0) {
locale = localesList[index];
}
return locale;
}