stop method

void stop()

Stops monitoring.

Implementation

void stop() {
  _isMonitoring = false;
  _maxIntervalTimer?.cancel();
  _maxIntervalTimer = null;
}