stop method Null safety

void stop()
override

Stop the probe. Once a probe is stopped, it cannot be started again. If you need to restart a probe, use the restart or pause and resume methods.

Implementation

void stop() {
  _stateMachine.stop();
  _stateEventController.close();
}