State<T> constructor

State<T>(
  1. T initState
)

Implementation

State(T initState) : _state = initState;