hasNextTurnInfo property

bool get hasNextTurnInfo

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:

Implementation

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

  return resultString['result'];
}