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