clone method

  1. @override
DeclarationGroup clone()
override

Implementation

@override
DeclarationGroup clone() {
  var clonedDecls = declarations.map((d) => d.clone()).toList();
  return DeclarationGroup(clonedDecls, span);
}