TreeWalker constructor

TreeWalker(Node root, int whatToShow)

Implementation

factory TreeWalker(Node root, int whatToShow) {
  return document._createTreeWalker(root, whatToShow, null);
}