PrevValueCell<T> constructor

PrevValueCell<T>(
  1. ValueCell<T> cell
)

Create a cell which records the previous value of cell.

When value is accessed it will always return the previous value of cell.

Implementation

PrevValueCell(this.cell) : super(key: _PrevValueCellKey(cell));