dispose method

void dispose()

Implementation

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