computed<T> method

Computed<T> computed<T>(
  1. T compute()
)

Creates a memoized derived reactive value (Computed) that automatically tracks upstream Rx reads and only notifies listeners when its computed result changes (!=).

Implementation

Computed<T> computed<T>(T Function() compute) => Computed<T>(compute);