duplicate method
Duplicate this node and add it to the parent.
Implementation
DOMNode? duplicate() {
var parent = this.parent;
if (parent == null) return null;
return parent.duplicateNode(this);
}
Duplicate this node and add it to the parent.
DOMNode? duplicate() {
var parent = this.parent;
if (parent == null) return null;
return parent.duplicateNode(this);
}