turnDetails property
TurnDetails
get
turnDetails
Detailed information describing the upcoming turn.
Returns
- TurnDetails: full turn metadata used to render or customize UI representations.
See also:
- hasTurnInfo - check if detailed turn information is available.
Implementation
TurnDetails get turnDetails {
final OperationResult resultString = objectMethod(
pointerId,
'RouteInstructionBase',
'getTurnDetails',
);
return TurnDetails.init(resultString['result']);
}