onNavigationOutOfRoute method

Future<void> onNavigationOutOfRoute(
  1. OnNavigationOutOfRouteCallback callback
)

Sets a callback that will be notified when the current user gets out of the current route.

See requestNavigation.

Implementation

Future<void> onNavigationOutOfRoute(
    OnNavigationOutOfRouteCallback callback) async {
  _onNavigationOORCallback = callback;
}