Polyline constructor

const Polyline(
  1. List<Point> points
)

Implementation

const Polyline(this.points) : assert(points.length >= 2);