NodeIterator constructor Null safety

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

Implementation

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