currentState property

T get currentState

Returns the current state of type T.

Implementation

T get currentState => state;