BasicTranslatedMessage class

A TranslatedMessage that just uses the name as the id and knows how to look up its original messages in our messages.class



BasicTranslatedMessage(String name, dynamic translated, Map<String, List<MainMessage>> messages)


messages ↔ Map<String, List<MainMessage>>
read / write
originalMessages ↔ List<MainMessage>
read / write, inherited-setter, override-getter
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
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


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


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