last property
view source
E last
inherited
Implementation
E get last {
if (length == 0) throw IterableElementError.noElement();
return this[length - 1];
}
last= (E element)
inherited
Implementation
set last(E element) {
throw new UnsupportedError("Cannot modify an unmodifiable list");
}