insertAll method

void insertAll(
  1. int index,
  2. Iterable<IndexedNode> iterable
)
override

Insert a collection of Iterable nodes in the children list at index

Implementation

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