remember static method
dynamic
remember(
- dynamic key,
- dynamic value, [
- dynamic session
Stores a value
in the cache for later retrival using key
.
key
- the identifier that you will use to reference the stored valuevalue
- the Object to be stored in the cachesession
- optional second key used to partition the cache
Implementation
static remember(key, value, [session]) => _lookupCache(session)[key] = value;