last property

ValueCell<T> get last

Returns a cell which evaluates to Iterable.last applied on the value in this cell.

Implementation

ValueCell<T> get last => apply((value) => value.last,
    key: _IterablePropKey(this, #last)
).store(changesOnly: true);