navigateToRoot
Triggers a new NavEvent to navigate to the given root. The current back stack will be popped and saved. Whether the backstack of the given root
is restored depends on restoreRootState.
Triggers a new NavEvent to navigate to the given root. The current back stack will be popped and saved. Whether the backstack of the given root
is restored depends on restoreRootState.