waypoints property
List containing the segment's start, end and any intermediate waypoints.
Returns
List<Landmark>: waypoints that define the segment (start, end and intermediates).
Implementation
List<Landmark> get waypoints {
final OperationResult resultString = objectMethod(
pointerId,
'RouteSegmentBase',
'getWaypoints',
);
return LandmarkList.init(resultString['result']).toList();
}