get method

State<S, S> get()

Extract the current state S.

Implementation

State<S, S> get() => State((state) => (state, state));