stop method

void stop()

Implementation

void stop() {
  if (!_isPolling) return;
  _isPolling = false;
  _timer?.cancel();
}