rejectBetterRoute method

void rejectBetterRoute()

Rejects the currently suggested better route.

  • Maintains current route
  • Triggers rejection callback
  • Clears current suggestion

Implementation

void rejectBetterRoute() {
  navigationManager.uiModel
      .betterRouteResponse(sdk.BetterRouteResponse.reject);
  _onBetterRouteRejected();
  _currentBetterRoutePromptInfo = null;
}