skipNextIntermediateDestination static method
- TaskHandler? taskHandler,
Skip next intermediate destination on the navigation route.
Parameters
- IN navigationListener Navigation listener used to identify the navigation session.
The route will be recalculated and an onRouteUpdated
notification will be emitted
Returns
- GemError.success on success
- GemError.notFound if there are no more intermediate waypoints on the route
Throws
- An exception if it fails.
Implementation
static GemError skipNextIntermediateDestination({
final TaskHandler? taskHandler,
}) {
final OperationResult result = staticMethod(
'NavigationService',
'skipNextIntermediateDestination',
args: taskHandler ?? <dynamic, dynamic>{},
);
return GemErrorExtension.fromCode(result['result']);
}