acceptBetterRoute method
void
acceptBetterRoute()
Accepts the currently suggested better route.
- Updates navigation to use new route
- Triggers acceptance callback
- Updates navigation manager with acceptance response
Implementation
void acceptBetterRoute() {
navigationManager.uiModel
.betterRouteResponse(sdk.BetterRouteResponse.accept);
_onBetterRouteAccepted(_currentBetterRoutePromptInfo!);
}