setState

fun setState(value: T)(source)

Sets the value of the observable property using property delegation. This is a convenience method that delegates to MutableState.setValue.

Note: This method does not invoke the beforeChange or afterChange listeners, nor does it trigger the onUpdated or onBindCallback callbacks. It directly modifies the underlying state. For behavior that includes these callbacks and listeners, use the setValue method.

Parameters

value

The new value to set for the property.