trackData property
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:
- hasTrackData to check for the presence of track data.
Implementation
Path get trackData {
final OperationResult resultString = objectMethod(
pointerId,
'Landmark',
'getWaypointTrackData',
);
return Path.init(resultString['result']);
}
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,
);
}