instructionIndex property
Get the index of the current route instruction on the current route segment.
Returns
- The index of the next route instruction on the current route segment
Throws
- An exception if it fails.
Implementation
int get instructionIndex {
final OperationResult resultString = objectMethod(
_pointerId,
'NavigationInstruction',
'getInstructionIndex',
);
return resultString['result'];
}