store method

Cache store(
  1. String store
)

Use the store with this name from the config.

Cache().store('file').put('key', 'value');

It changes this Cache and gives it back. With CoreFlags.cacheCopies it gives a new Cache, and this one does not change.

Implementation

Cache store(String store) {
  Cache target = _target();
  target._store = store;
  return target;
}