isSupportedLocale method Null safety
- Locale locale
 
Is the provided locale supported
Implementation
static isSupportedLocale(Locale locale) {
  var index =
      supportedLocales.indexWhere((_locale) => '$_locale' == '$locale');
  return index > -1;
}