isSupported static method

bool isSupported(
  1. Locale locale
)

Implementation

static bool isSupported(Locale locale) =>
    AppLanguage.supportedLanguages.any((l) => locale.matches(l));