turnDetails property

TurnDetails get turnDetails

Get full details for the turn.

Returns

  • Full details for the turn. This may be used instead of getTurnImage in order to customize display in UI.

Throws

  • An exception if it fails.

Implementation

TurnDetails get turnDetails {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'RouteInstructionBase',
    'getTurnDetails',
  );

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