translations property

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

The app's translations

Implementation

static Map<Locale, Map<String, String>> get translations => _translations;
set 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);
  }
}