getWaypoints method
- int index
Get waypoints of the route specified by index.
Parameters
- IN index The index of the route in the current sort order.
Returns
- The route waypoints
Throws
- An exception if it fails.
Implementation
List<Landmark> getWaypoints(final int index) {
final OperationResult resultString = objectMethod(
_pointerId,
'RouteBookmarks',
'getWaypoints',
args: index,
);
return LandmarkList.init(resultString['result'], _mapId).toList();
}