currentState

open override var currentState: S

Current state of the transition. currentState is initialized to the initialState that the MutableTransitionState is constructed with.

It will be updated by the Transition that is created with this MutableTransitionState when the transition arrives at a new state.