newState method
TState
newState()
Returns a typed state object backed by a new Map.
Convenient for use with getInitialState
and setState
.
Implementation
TState newState() => typedStateFactory({});
Returns a typed state object backed by a new Map.
Convenient for use with getInitialState
and setState
.
TState newState() => typedStateFactory({});