withDefault

fun <T> ValueWithDefault<T>.withDefault(default: T): ValueWithDefault<T>

Create a copy with a new default value