SetStateHandler constructor
const
SetStateHandler(
- AnyStateReference stateReference,
- Object value
Wraps the given stateReference and value in a SetStateHandler object.
The value must not be mutated after the object is created (e.g. in the event that it is a DynamicMap or DynamicList).
Implementation
const SetStateHandler(this.stateReference, this.value);