setLocale method

void setLocale(
  1. Locale locale
)

Implementation

void setLocale(Locale locale) {
  appLocalizations = AppLocalizations(locale, langMap[locale]!());
}