last property

IndexedNode get last
override

Get the last child in the list

Implementation

IndexedNode get last {
  if (children.isEmpty) throw ChildrenNotFoundException(this);
  return children.last;
}
set last (IndexedNode value)
override

Set the last child in the list to value

Implementation

set last(IndexedNode value) {
  if (children.isEmpty) throw ChildrenNotFoundException(this);
  children.last = value;
}