skipNextIntermediateDestination static method

GemError skipNextIntermediateDestination({
  1. 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

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']);
}