NodeBuilder.existing constructor

NodeBuilder.existing(
  1. Node existingNode
)

Creates a NodeBuilder that just spits out an already-existing Node.

Implementation

factory NodeBuilder.existing(Node existingNode) =>
    NodeBuilder(existingNode.tagName).._existing = existingNode;