start method
TState
start()
Starts the logic block by entering the initial state and returns it.
Throws a StateError if the logic block has been disposed. Has no effect if already started.
Implementation
TState start() {
_throwIfDisposed('start');
if (isStarted) {
return _value!;
}
_status = LogicBlockStatus.started;
return _initialize();
}