hasNextNextTurnInfo property

bool get hasNextNextTurnInfo

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:

Implementation

bool get hasNextNextTurnInfo {
  final OperationResult resultString = objectMethod(
    pointerId,
    'NavigationInstruction',
    'hasNextNextTurnInfo',
  );

  return resultString['result'];
}