untrack<T> method

T? untrack<T>(
  1. Element element
)

Untracks element.

Implementation

T? untrack<T>(Element element) {
  var removed = _elements.remove(element);

  _elementsProperties.remove(element);

  if (_elements.isEmpty) {
    _cancelTimer();
  }

  return removed?._lastCheckValue;
}