forget static method

void forget(
  1. Key key
)

Removes entries corresponding to the specified Key from our internal caches.

Implementation

static void forget(Key key) {
  _updated.remove(key);
  _lastVisibility.remove(key);
  _lastBounds.remove(key);

  if (_updated.isEmpty) {
    _timer?.cancel();
    _timer = null;
  }
}