operator [] method

T operator [](
  1. int index
)

Returns the LatLng coordinate form index

Path path = new Path.from(

Implementation

T operator [](int index) => coordinates.elementAt(index);