dispose method

void dispose()

Cancels any pending invocation.

Implementation

void dispose() {
  _timer?.cancel();
  _timer = null;
}