timeDistanceToNextTurn property
Get the time to the next turn in seconds, distance in meters.
Returns
- The time to the next turn in seconds, distance in meters.
Throws
- An exception if it fails.
Implementation
TimeDistance get timeDistanceToNextTurn {
final OperationResult resultString = objectMethod(
_pointerId,
'NavigationInstruction',
'getTimeDistanceToNextTurn',
);
return TimeDistance.fromJson(resultString['result']);
}