navigateToRoot

Navigates to a root destination in the navigation graph.

Uses NavOptions to clear the backstack up to the start destination and maintain state.

Parameters

route

The root ParentFeature route to navigate to.