NodeIterator(Node root, int whatToShow)

Source

factory NodeIterator(Node root, int whatToShow) {
  return document._createNodeIterator(root, whatToShow, null);
}