copy method

  1. @override
Element copy()
override

Copies this node.

Implementation

@override
Element copy() {
  return node!.clone(true) as Element;
}