value property

T value

The current value of the state.

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

Implementation

T get value => _value;