invalidate method

  1. @override
Future<void> invalidate(
  1. K key
)
override

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

Implementation

@override
Future<void> invalidate(K key) async {
  _map.remove(key);
}