nextNextTurnDetails property

TurnDetails get nextNextTurnDetails

Get the full details for the next-next turn.

This may be used instead of _getNextNextTurnIcon_ in order to customize turn display in UI.

Returns

  • The full details for the next-next turn

Throws

  • An exception if it fails.

Implementation

TurnDetails get nextNextTurnDetails {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'NavigationInstruction',
    'getNextNextTurnDetails',
  );

  return TurnDetails.init(resultString['result'], _mapId);
}