TranslationMap class

Contains ALL translations of ALL locales Represented as pure maps without modifications

locale -> (namespace -> translation map)

Constructors

TranslationMap()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addTranslations({required I18nLocale locale, String namespace = 'not relevant', required Map<String, dynamic> translations}) → void
Add a namespace and its translations Namespace may be ignored if this feature is not used
getInternalMap() Map<I18nLocale, Map<String, Map<String, dynamic>>>
getLocales() List<I18nLocale>
Return all locales specified in this map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](I18nLocale key) Map<String, Map<String, dynamic>>?
Read access