MessageLookup class
Properties
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
localeName
→ String
-
Subclasses should override this to return their locale, e.g. 'en_US'
read-only, override
-
messages
→ Map<String, dynamic>
-
Subclasses should override this to return a list of their message
implementations. In this class these are functions, but subclasses may
implement them differently.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
evaluateMessage(dynamic translation, List args)
→ String
-
Evaluate the translated message and return the translated string.
inherited
-
lookupMessage(String messageText, String locale, String name, List args, String meaning, {MessageIfAbsent ifAbsent})
→ String
-
Return the localized version of a message. We are passed the original
version of the message, which consists of a
messageText
that will be translated, and which may be interpolated
based on one or more variables. [...]
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString()
→ String
-
Returns a string representation of this object.
inherited
Static Methods
-
m0(dynamic type)
→ dynamic
-
-
m1(dynamic name, dynamic roll)
→ dynamic
-