I18nMessage class
An internationalized message.
Constructors
-
I18nMessage(String text, I18nMetadata metadata, {Map<
String, String> args = const {}}) -
Creates an internationalized message from
text
withmetadata
.
Properties
-
args
→ Map<
String, String> -
Arguments that appear as interpolations in text.
final
- containsHtml → bool
-
Whether this message contains nested HTML.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- metadata → I18nMetadata
-
Metadata used for internationalization of this message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
The message text to be translated for different locales.
final
Methods
-
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 ==(
dynamic other) → bool -
The equality operator.
override