getChildNodes function
Implementation
void getChildNodes(ContainerNode node, List<Node> nodes) {
assert(nodes.isEmpty);
for (Node? child = node.firstChild; child != null; child = child.nextSibling) {
nodes.add(child);
}
}
void getChildNodes(ContainerNode node, List<Node> nodes) {
assert(nodes.isEmpty);
for (Node? child = node.firstChild; child != null; child = child.nextSibling) {
nodes.add(child);
}
}