copy method
Returns a copy if this instance.
Implementation
@override
DOMTemplate copy({bool resolveDSX = false}) {
if (resolveDSX) {
var dsx = asDSX;
if (dsx != null) {
var s = dsx.createResolver().resolveValueAsString();
return DOMTemplateContent(s);
}
}
var copy = DOMTemplateNode();
copy.nodes.addAll(copyNodes(resolveDSX: resolveDSX));
return copy;
}