Catalog class

Represents locale translations catalog

Constructors

Catalog(Map<String, Translations> domains)

Properties

domains Map<String, Translations>
getter/setter pair
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(String domain, Translations translations) → void
Add translations in some domain
getTranslation(String domain, String msgctxt, String msgid) Translation?
Get translation by message id, context and domain
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