NodeCache constructor

NodeCache(
  1. KeyValueStore _kv, {
  2. String prefix = defaultPrefix,
})

Creates a cache over kv, namespaced under prefix so two apps on one origin do not share a node list.

Implementation

NodeCache(this._kv, {String prefix = defaultPrefix})
  : _key = '${prefix}cache.nodes';