LocalizedString class
A class that wraps localized string data.
Constructors
-
LocalizedString.fromJson(Map<
String, dynamic> json) - Constructs a LocalizedString instance from a JSON map.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The identifier for the localized string.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
translations
→ Map<
String, String> -
A map containing translations of the string in various languages.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string representation of the LocalizedString instance.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited