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