LocalizedText class - core library - Dart API
LocalizedText
LocalizedText class
Used to represent text localized to specific language.
Constructors
- LocalizedText(String text, Locale? locale)
- Creates a new instance.
Properties
- hashCode → int
-
The hash code for this object.
no setter
- locale ↔ Locale?
-
Locale of text, in most cases contains only language code.
If locale is not supported by the platform,
nullis returned.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text ↔ String
-
Text value.
getter/setter pair
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 ==(
Object other) → bool - The equality operator.