asNotNull method

MutableValue<T> asNotNull([
  1. T? onNull
])

Implementation

MutableValue<T> asNotNull([T? onNull]) => MutableValue.computed(() => value ?? onNull!, (it) => value = it);