wayPoints property

List<int> get wayPoints

Get read-only access to the internal waypoint list.

Returns

  • The waypoint list

Throws

  • An exception if it fails.

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;
}