addAll method

void addAll(
  1. covariant Iterable<IndexedNode> iterable
)
override

Add a collection of Iterable nodes to children. The iterable will be inserted after the last child in the list

Implementation

void addAll(Iterable<IndexedNode> iterable) {
  for (final node in iterable) {
    node.parent = this;
  }
  children.addAll(iterable);
}