getWaypoints method
      
List<Landmark> 
getWaypoints({ 
    
- GetWaypointsOptions options = GetWaypointsOptions.remainingInitial,
Get list of route waypoints.
The waypoints are ordered like: departure, first waypoint, ..., destination.
If the route is target for a navigation, the list will contain the remaining to travel waypoints.
Parameters
- IN options Waypoints options
Returns
- List of Landmark
Implementation
List<Landmark> getWaypoints({
  final GetWaypointsOptions options = GetWaypointsOptions.remainingInitial,
}) {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RouteBase',
    'getWaypoints',
    args: options.id,
  );
  return LandmarkList.init(resultString['result']).toList();
}