SimpleTranslator class

Translator for simple values

Implementers

Constructors

SimpleTranslator(Map? decodedMap, String key, String? keySeparator, {String? fallbackKey, Map<String?, String>? translationParams, MissingKeyTranslationHandler? missingKeyTranslationHandler})

Properties

decodedMap → Map?
final
fallbackKey → String?
final
hashCode → int
The hash code for this object.
no setterinherited
key ↔ String
getter/setter pair
keySeparator → String?
final
missingKeyTranslationHandler → MissingKeyTranslationHandler?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
translationParams ↔ Map<String?, String>?
getter/setter pair

Methods

calculateSubmap(String translationKey) → Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
translate() → String
Return the translation of the key provided, otherwise return the fallbackKey (if provided), otherwise return the same key

Operators

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