configure static method

void configure({
  1. required Map<String, Map<String, String>> translations,
  2. required Locale locale,
  3. required Locale fallbackLocale,
})

Implementation

static void configure({
  required Map<String, Map<String, String>> translations,
  required Locale locale,
  required Locale fallbackLocale,
}) {
  _translations = translations;
  _fallbackLocale = fallbackLocale;
  localeNotifier.value = locale;
}