Extract the current state S.
S
StateAsync<S, S> get() => StateAsync((state) async => (state, state));