stop method

  1. @override
void stop()
override

Stop the executor. Once an executor is stopped, it cannot be resumed again. If you need to restart an executor, use the restart or pause and resume methods.

Implementation

@override
void stop() {
  info('Stopping $runtimeType');
  _stateMachine.stop();
  _stateEventController.close();
}