i18n static method

dynamic i18n(
  1. Map<String, String> translations
)

Implementation

static i18n(Map<String, String> translations) {
  translations.forEach((key, value) {
    _translations[key.toLowerCase()] = value;
  });
}