wayPoints property
Get read-only access to the internal waypoint list.
Read-only access to the list of waypoint indices for this path.
Waypoints are expressed as integer indices that reference positions in coordinates.
Returns
- A List<int> containing waypoint indices.
Implementation
List<int> get wayPoints {
final OperationResult resultString = objectMethod(
pointerId,
'Path',
'getWayPoints',
);
final List<int> listJson = (resultString['result'] as List<dynamic>)
.map((final dynamic item) => item as int)
.toList();
return listJson;
}