mutableStateSaver

fun <T, Saveable> mutableStateSaver(valueSaver: Saver<T, Saveable>, policy: SnapshotMutationPolicy<T> = structuralEqualityPolicy()): Saver<MutableState<T>, Saveable>(source)

Creates a MutableState saver by applying valueSaver to the contained value.

The restored state uses policy for subsequent change detection.