copy method

  1. @override
dynamic copy(
  1. dynamic source
)
override

Implementation

@override
copy(source) {
  super.copy(source);

  holes = [];

  for (var i = 0, l = source.holes.length; i < l; i++) {
    var hole = source.holes[i];

    holes.add(hole.clone());
  }

  return this;
}