nextNextInstruction property
Get the next-next route instruction on the route.
Returns
- The next-next route instruction if available, null otherwise
Implementation
RouteInstruction? get nextNextInstruction {
final OperationResult resultString = objectMethod(
pointerId, 'NavigationInstruction', 'getNextNextInstruction');
final GemError gemApiError = GemErrorExtension.fromCode(
resultString['gemApiError'],
);
if (gemApiError != GemError.success) {
return null;
}
return RouteInstruction.init(resultString['result']);
}