TranslationsStore constructor

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

Implementation

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