traveledTimeDistance property
Get the traveled distance in meters and the traveled time in seconds.
Returns
- TimeDistance object containing the traveled time and distance.
Throws
- An exception if it fails.
Implementation
TimeDistance get traveledTimeDistance {
final OperationResult resultString = objectMethod(
_pointerId,
'RouteInstructionBase',
'getTraveledTimeDistance',
);
return TimeDistance.fromJson(resultString['result']);
}