translations property

Map<Locale, Map<String, String>> translations

The app's translations

Implementation

static Map<Locale, Map<String, String>> get translations => _translations;
void translations=(Map<Locale, Map<String, String>>? translateMap)

Implementation

static set translations(Map<Locale, Map<String, String>>? translateMap) {
  // Can only assign it once
  if (_translations.isEmpty && translateMap != null) {
    _translations.addAll(translateMap);
  }
}