getLocale static method

Locale? getLocale(
  1. int index
)

Implementation

static Locale? getLocale(int index) {
  Locale? locale;
  final localesList = I10n.supportedLocales;
  if (localesList != null && index >= 0) {
    locale = localesList[index];
  }
  return locale;
}