isSupportedLocale function

bool isSupportedLocale (
  1. Locale locale
)

Implementation

bool isSupportedLocale(Locale locale) {
  var id = localeToId(locale);
  var result = Locales.contains(id);
  return result;
}