nrOfCoordinates property
int
get
nrOfCoordinates
Returns the number of coordinates
final Path path = new Path.from(<LatLng>[ startPos,endPos ]);
final int nr = path.nrOfCoordinates; // nr == 2
Implementation
int get nrOfCoordinates => _coordinates.length;