TranslationsStore constructor

TranslationsStore({
  1. Iterable<MapEntry<String, PackTranslation>> translations = const [],
  2. String? getLocale() = getDefaultLocale,
})

Implementation

TranslationsStore({
  Iterable<MapEntry<String, PackTranslation>> translations = const [],
  this.getLocale = getDefaultLocale,
}) : translations = Map.fromEntries(translations);