computed<T> function

Computed<T> computed<T>(
  1. T getter(
    1. T? prevValue
    )
)

Implementation

types.Computed<T> computed<T>(T Function(T? prevValue) getter) {
  return Computed<T>(getter);
}