PTShape constructor
PTShape({
- required List<
Coordinates> points,
Create a PTShape.
API users do not typically create instances of this class directly. Get instances from PTStopInfo.shapes or PTRouteInfo.shape.
Parameters
points: (List<Coordinates>) Shape points, in travel direction.
Implementation
PTShape({required this.points});