trackData property

Path get trackData

Retrieves the waypoint track data for this landmark.

Returns the track as a Path object.

Returns

  • Path object containing the track data, or empty if none present.

See also:

Implementation

Path get trackData {
  final OperationResult resultString = objectMethod(
    pointerId,
    'Landmark',
    'getWaypointTrackData',
  );

  return Path.init(resultString['result']);
}
set trackData (Path path)

Sets the waypoint track data for this landmark.

Replaces the current track with the provided path.

Parameters

  • path: Path object representing the new track data.

Implementation

set trackData(Path path) {
  objectMethod(
    pointerId,
    'Landmark',
    'setWaypointTrackData',
    args: path.pointerId,
  );
}