toMutable

fun <T> State<T>.toMutable(setter: State<T>.(T) -> Unit): MutableState<T>

Converts this State to a MutableState that calls setter for doing the actual value update.