addChildren method

void addChildren(
  1. List<NodeV3> elements, [
  2. int? position
])

Implementation

void addChildren(List<NodeV3> elements, [int? position]) {
  if (position == null) {
    children.addAll(elements);
  } else {
    children.insertAll(position, elements);
  }
}