CatalogTranslatedMessage class

A TranslatedMessage that just uses the name as the id and knows how to look up its original messages inside a TranslationCatalog.

Inheritance

Constructors

CatalogTranslatedMessage(String name, Message translated, TranslationCatalog catalog)

Properties

catalog TranslationCatalog
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
The identifier for this message. In the simplest case, this is the name parameter from the Intl.message call, but it can be any identifier that this program and the output of the translation can agree on as identifying a message.
final, inherited
message Message
read-only, inherited
originalMessage MainMessage
For backward compatibility, we still have the originalMessage API.
read / write, inherited
originalMessages List<MainMessage>
read / write, inherited-setter, override-getter
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
translated Message
Our translated version of all the originalMessages.
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(dynamic x) bool
The equality operator. [...]
inherited