copy method

  1. @override
DOMTemplateBlockIf copy({
  1. bool resolveDSX = false,
})
override

Returns a copy if this instance.

Implementation

@override
DOMTemplateBlockIf copy({bool resolveDSX = false}) {
  var copy = DOMTemplateBlockIf(variable);
  copy.nodes.addAll(copyNodes(resolveDSX: resolveDSX));
  return copy;
}