TranslationEntry class

Annotations

Constructors

TranslationEntry({required String key, required String value})
Constructs the translated value with the key that is used as the identifier for the translated value as well as the translated value to display to the user.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
The key, or identifier, for the translation value. This is the value that will be used to find the appropriate translation value from the cache. It is recommended that the key match the variable name to ease maintenance, but there's no requirement that it follow thta convention.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
Translated display value for the string. Values can be parameterized by surrounding the parameter with curley braces. Example: 'Hello, {name}'.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited