dispose method

void dispose()

Dispose of the element watcher and all the listeners

Implementation

void dispose() {
  for (final cleanup in _watch.values) {
    cleanup();
  }
  for (final cleanup in _listen.values) {
    cleanup();
  }
  _removeSignalWatchers();
}