CacheClient class

An in-memory cache client.

Constructors

CacheClient()
An in-memory cache client.

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read<T extends Object>({required String key}) → T?
Looks up the value for the provided key. Defaults to null if no value exists for the provided key.
toString() String
A string representation of this object.
inherited
write<T extends Object>({required String key, required T value}) → void
Writes the provide key, value pair to the in-memory cache.

Operators

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