TranslatorCache class abstract

Base class for a Translator cache.

Constructors

TranslatorCache({TranslatorLogger? logger})

Properties

hashCode int
The hash code for this object.
no setterinherited
logger TranslatorLogger?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(String key, String message, IntlLocale fromLocale, IntlLocale toLocale) FutureOr<String?>
log(Object o) → void
Logs o calling logger.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
store(String key, String message, String translatedMessage, IntlLocale fromLocale, IntlLocale toLocale) FutureOr<bool>
toString() String
A string representation of this object.
inherited

Operators

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