setValue

inline operator fun <T> MutableState<T>.setValue(thisObj: Any?, property: KProperty<*>, value: T)

Permits property delegation of vars using by for MutableState.

Samples

androidx.compose.runtime.samples.DelegatedStateSample