transform<R> method

RxComputed<R> transform<R>(
  1. R mapper(
    1. T
    )
)

Transform this reactive value to another type

Implementation

RxComputed<R> transform<R>(R Function(T) mapper) {
  return computed(() => mapper(value));
}