forget static method

void forget(
  1. Key key
)

Implementation

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

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