copy method

  1. @override
TemplateNode copy()
override

Copies this node.

Implementation

@override
TemplateNode copy() {
  return TemplateNode(DOMTemplate.parse(text));
}