traveledTimeDistance property
TimeDistance
get
traveledTimeDistance
Distance/time metrics already traveled up to this instruction.
Returns
- TimeDistance: distance (meters) and time (seconds) that have been traveled prior to this instruction.
Implementation
TimeDistance get traveledTimeDistance {
final OperationResult resultString = objectMethod(
pointerId,
'RouteInstructionBase',
'getTraveledTimeDistance',
);
return TimeDistance.fromJson(resultString['result']);
}