copy method

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

Returns a copy if this instance.

Implementation

@override
DOMTemplateBlockIfCmp copy({bool resolveDSX = false}) {
  var copy = DOMTemplateBlockIfCmp(elseIf, variable, cmp, value);
  copy.nodes.addAll(copyNodes(resolveDSX: resolveDSX));
  return copy;
}