onLeave property

Stream<StateChange> onLeave

Stream of leave events. Leave event occurs every time the machine leaves this state.

Implementation

Stream<StateChange> get onLeave => _onLeave;