first property

IndexedNode get first
override

Get the first child in the list

Implementation

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

Set the first child in the list to value

Implementation

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