dispose method

void dispose()

Implementation

void dispose() {
  _disposed = true;

  for (final timer in _timers) {
    timer.cancel();
  }

  _timers.clear();
}