turnInstruction property

String get turnInstruction

Localized textual instruction for the turn.

Returns

  • String: turn instruction text, or an empty string if not present.

Implementation

String get turnInstruction {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RouteInstructionBase',
    'getTurnInstruction',
  );

  return resultString['result'];
}