first property

IndexedNode first
override

Get the first child in the list

Implementation

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