remainingTravelTimeDistance property

TimeDistance get remainingTravelTimeDistance

Remaining travel time and distance to the final destination.

Returns estimated remaining travel time (seconds) and distance (meters) to the route's final destination, accounting for current traffic conditions and route geometry.

Returns

  • (TimeDistance) Remaining time (seconds) and distance (meters) to destination.

See also:

Implementation

TimeDistance get remainingTravelTimeDistance {
  final OperationResult resultString = objectMethod(
    pointerId,
    'NavigationInstruction',
    'getRemainingTravelTimeDistance',
  );

  return TimeDistance.fromJson(resultString['result']);
}