Polyline constructor
Each polyline must have at least two points.
Implementation
Polyline({
this.id,
required this.points,
this.color,
this.width,
this.alpha,
}) : assert(points.length >= 2, 'Polyline must have at least two points');
Each polyline must have at least two points.
Polyline({
this.id,
required this.points,
this.color,
this.width,
this.alpha,
}) : assert(points.length >= 2, 'Polyline must have at least two points');