addAllTranslations method
void
addAllTranslations(
- Map<
IntlLocale, Map< translationsIntlLocale, Map< >String, Map< >String, String> >
Adds all translations in translations
Map.
See addTranslations;
Implementation
void addAllTranslations(
Map<IntlLocale, Map<IntlLocale, Map<String, Map<String, String>>>>
translations) {
for (var fromEntry in translations.entries) {
final fromLocale = fromEntry.key;
for (var toEntry in fromEntry.value.entries) {
final toLocale = toEntry.key;
addTranslations(fromLocale, toLocale, toEntry.value);
}
}
}