forget static method
Removes a value from the cache perminantly.
key
- the identifier that you used to reference the stored valuesession
- optional second key used to partition the cache
Implementation
static Object? forget(key, [session]) {
return _lookupCache(session).remove(key);
}