copy method

  1. @override
TDElement copy()
override

Copies this node.

Implementation

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