remainingTravelTimeDistance property

TimeDistance get remainingTravelTimeDistance

Remaining travel time and distance from this instruction to the route end.

Returns

  • TimeDistance: remaining travel time (seconds) and distance (meters).

Implementation

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

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