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