remainingTravelTimeDistanceToNextWaypoint property
Get remaining travel time in seconds to the next way point and the remaining travel distance in meters to the next way point.
Returns
- TimeDistance object containing the remaining travel time and distance to the next waypoint.
Throws
- An exception if it fails.
Implementation
TimeDistance get remainingTravelTimeDistanceToNextWaypoint {
final OperationResult resultString = objectMethod(
_pointerId,
'RouteInstructionBase',
'getRemainingTravelTimeDistanceToNextWaypoint',
);
return TimeDistance.fromJson(resultString['result']);
}