previous property

ValueCell<T> get previous

Return a cell which holds the previous value of this cell.

NOTE: The cell will only keep track of the previous value after the value of this is changed at least once AFTER the first observer is added to the returned cell.

Implementation

ValueCell<T> get previous => PrevValueCell<T>(this);