TreeWalker constructor

TreeWalker(
  1. Node root,
  2. int whatToShow
)

Implementation

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