dispose method

  1. @override
void dispose()
inherited

Implementation

@override
void dispose() {
  for (final cleanup in _disposeCallbacks) {
    cleanup();
  }
  _disposeCallbacks.clear();
  if (_node != null) _unsubscribe(_node!);
  _value = _initialValue;
  _previousValue = _initialValue;
}