remainingTravelTimeDistanceToNextWaypoint property
Remaining travel time and distance to the next waypoint.
Returns estimated remaining travel time (seconds) and distance (meters) to the next intermediate waypoint on the route, accounting for current traffic conditions and route geometry.
Returns
- (TimeDistance) Remaining time (seconds) and distance (meters) to next waypoint.
See also:
- remainingTravelTimeDistance - Time/distance to final destination.
Implementation
TimeDistance get remainingTravelTimeDistanceToNextWaypoint {
final OperationResult resultString = objectMethod(
pointerId,
'NavigationInstruction',
'getRemainingTravelTimeDistanceToNextWaypoint',
);
return TimeDistance.fromJson(resultString['result']);
}