copy method

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

Returns a copy if this instance.

Implementation

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