clone method

Line clone()

Implementation

Line clone() {
  return new Line(
      points: points.map((point) => new Point(point.x, point.y)).toList(),
      color: color,
      width: width,
      wipe: wipe,
      duration: duration);
}