last property

set last (T value)

Implementation

set last(T value) {
  // TODO(jacobr): use a more sophisticated data structure such as
  // https://en.wikipedia.org/wiki/Rope_(data_structure) to make last more
  // efficient.
  _rawList = _rawList.toList();
  _rawList.last = value;
  _listChanged();
}