clone method

  1. @override
Document clone(
  1. bool deep
)
override

Returns a copy of this node.

If deep is true, then all of this node's children and decendents are copied as well. If deep is false, then only this node is copied.

Implementation

@override
Document clone(bool deep) => _clone(Document(), deep);