scale method

Polyline scale(
  1. double factor
)

Scale the polyline

Implementation

Polyline scale(double factor) {
  return Polyline(points.map((p) => p.scale(factor)).toList());
}