clone method

  1. @override
VarUsage clone()
override

Implementation

@override
VarUsage clone() {
  var clonedValues = <Expression>[];
  for (var expr in defaultValues) {
    clonedValues.add(expr.clone());
  }
  return VarUsage(name, clonedValues, span);
}