LocalizedString class
A message representing a user-facing string whose value may need to be translated before being displayed.
Constructors
-
LocalizedString({Map<
String, String> ? args, String? message, String? token}) - LocalizedString.fromJson(Map json_)
Properties
-
args
↔ Map<
String, String> ? -
A map of arguments used when creating the localized message.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String?
-
The canonical English version of this message.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token ↔ String?
-
The token identifying the message, e.g. 'METRIC_READ_CPU'.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited