getState<S> method

S getState<S>()

Implementation

S getState<S>() => _stateByType[typeOf<S>()];