RamCache constructor
RamCache([
- dynamic session
Creates a new session
cache or returns an exisiting session
cache.
Constructor as invoked by external instanciations.
Implementation
factory RamCache([session]) {
if (!_nodeStore.containsKey(session)) {
_nodeStore[session] = new RamCache._initialise(new Map());
}
return _nodeStore[session]!;
}