newInstance static method

Adapter newInstance(
  1. String key,
  2. Namespace nsp
)

Implementation

static Adapter newInstance(String key, Namespace nsp) {
  if ('default' == key) {
    return _MemoryStoreAdapter(nsp);
  }
  throw UnimplementedError('not supported other adapter yet.');
}