state property Null safety

T state
inherited

Implementation

T get state {
  final s = _state;
  OnReactiveState.addToObs?.call(this);
  return s;
}
void state=(T s)
inherited

Sync state mutation.

Use setState for more options

See: stateAsync for async state mutation

Implementation

set state(T s) {
  setState((_) => s);
}