flush method

Future<void> flush()

Removes all items from the cache.

Implementation

Future<void> flush() async {
  _store.clear();
}