replaceAllBackStacks

abstract fun replaceAllBackStacks(root: NavRoot)

Remove all back stacks and create a new back stack with the given root.

This should only be used when changing the start destination of the app. For all other cases showRoot should be used.