last property

IndexedNode last
override

Get the last child in the list

Implementation

IndexedNode get last {
  if (children.isEmpty) throw ChildrenNotFoundException(this);
  return children.last;
}
void 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;
}