close method

void close()

Implementation

void close() {
  _closed = true;
  for (final timer in _timers.toList()) {
    timer.cancel();
  }
  _notifyIdle();
}