updateCopy

fun <T> MutableState<T>.updateCopy(block: Copy<T>.() -> Unit)(source)

Modifies the value in this MutableState by performing the operations in the Copy.


fun <T> MutableStateFlow<T>.updateCopy(block: Copy<T>.() -> Unit)(source)

Updates the value in this MutableStateFlow by performing the operations in the Copy.