of static method

NewStateX of(
  1. StateXStore store
)

Implementation

static NewStateX of(StateXStore store) {
  return <T>(T state) => _StateX<T>(state, store.stateXObserver);
}