dispose method

void dispose()

Removes all event listeners.

Implementation

void dispose() {
  _onDown?.removeAll();
  _onUp?.removeAll();
}