dispose method

  1. @override
  2. @nonVirtual
void dispose()
override

Dispose of this executor.

Is not stopped, stop will be called first.

Once disposed, the executor cannot be used anymore and nothing will happen if any of the life cycle methods are called.

Implementation

@override
@nonVirtual
void dispose() {
  info('Disposing $this');
  _stateMachine.dispose();
}