copy method

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

Implementation

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

  points = [];

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

    points.add(point.clone());
  }

  return this;
}