TranslatedString class

Constructors

TranslatedString({required String locale, required String text})

Properties

hashCode int
The hash code for this object.
no setteroverride
locale String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
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 ==(Object other) bool
The equality operator.
override

Static Methods

comparable(String defaultLocaleStr) int Function(TranslatedString, TranslatedString)
TranslatedString in the default locale will come first. Then, comes the other TranslatedStrings with the same language as the default locale. Then, comes the other TranslatedStrings, in alphabetic order.