evict method

bool evict(
  1. String key
)

Implementation

bool evict(String key) {
  final contained = contains(key);
  _entries.remove(key);
  if (contained) notifyListeners();
  return contained;
}