Returns the LatLng coordinate form index
index
final Path path = Path.from(<LatLng>[ startPos,endPos ]); final LatLng p1 = path[0]; // p1 == startPos
T operator [](final int index) => _coordinates.elementAt(index);