timeoutBetterRoutePrompt method

void timeoutBetterRoutePrompt()

Handles timeout of the better route prompt.

  • Triggers timeout callback
  • Clears current suggestion
  • Updates navigation manager with timeout response

Implementation

void timeoutBetterRoutePrompt() {
  navigationManager.uiModel
      .betterRouteResponse(sdk.BetterRouteResponse.timeout);
  _onBetterRouteTimedOut();
  _currentBetterRoutePromptInfo = null;
}