waypoints property
Get the list containing segment start and end waypoints.
Returns
- A list of landmarks along the route
Implementation
List<Landmark> get waypoints {
final OperationResult resultString = objectMethod(
_pointerId,
'RouteSegmentBase',
'getWaypoints',
);
return LandmarkList.init(resultString['result']).toList();
}