newState method
TState
newState()
Returns a typed state object backed by a Map.
Convenient for use with initialState
and setState
.
Implementation
TState newState() => typedStateFactoryJs(JsBackedMap());
Returns a typed state object backed by a Map.
Convenient for use with initialState
and setState
.
TState newState() => typedStateFactoryJs(JsBackedMap());