points property
The vertices of the polyline to be drawn.
Line segments are drawn between consecutive points. A polyline is not closed by default; to form a closed polyline, the start and end points must be the same.
Implementation
final List<LatLng> points;