ofState<T extends StateX<StatefulWidget> > method
T?
ofState<T extends StateX<StatefulWidget> >()
inherited
Consistent with the equivalent in the StateXController class
Implementation
T? ofState<T extends StateX>() => stateByType<T>();