hasNextTurnInfo property
Check if next turn information is available.
Returns true if information about the immediate next turn is available. Always check this before accessing nextTurnDetails or related properties to avoid errors.
Returns
- (bool) True if next turn information is available, false otherwise.
See also:
- nextTurnDetails - Details for the next turn.
- hasNextNextTurnInfo - Check for next-next turn info.
Implementation
bool get hasNextTurnInfo {
final OperationResult resultString = objectMethod(
pointerId,
'NavigationInstruction',
'hasNextTurnInfo',
);
return resultString['result'];
}