nextNextTurnInstruction property

String get nextNextTurnInstruction

Textual description for the turn after the next one.

Returns a human-readable instruction string (e.g., "Turn left onto Main St") for the second upcoming maneuver. Suitable for displaying in navigation UI. Always check hasNextNextTurnInfo before relying on this value.

Note: For text-to-speech output, use the onTextToSpeechInstruction callback from NavigationService instead.

Returns

  • (String) Instruction text for the next-next turn.

See also:

Implementation

String get nextNextTurnInstruction {
  final OperationResult resultString = objectMethod(
    pointerId,
    'NavigationInstruction',
    'getNextNextTurnInstruction',
  );

  return _capitalizeFirstCharLatin(resultString['result']);
}