invalidate method

Future<Null> invalidate(
  1. K key
)

Removes the value associated with key. The Future completes with null when the operation is complete.

Implementation

Future<Null> invalidate(K key) async {
  _cache.remove(key);
  _inflightSet.remove(key);
}