BasicTranslatedMessage class

A TranslatedMessage that just uses the name as the id.

Inheritance

Constructors

BasicTranslatedMessage(String name, Message translated)

Properties

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
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
toCatalogMessage(TranslationCatalog catalog) CatalogTranslatedMessage
toString() String
A string representation of this object. [...]
inherited

Operators

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