state property

TState get state

The current state map of the component.

See: reactjs.org/docs/hooks-reference.html#usereducer.

Implementation

TState get state => _state;