state property

T get state

The current state value of this hook.

Implementation

T get state => _state as T;