copy method

  1. @override
THElement copy()
override

Copies this node.

Implementation

@override
THElement copy() {
  return THElement(
      attributes: attributes, commented: isCommented, content: copyContent());
}