resetStack abstract method

Future<void> resetStack(
  1. BeagleRoute route, [
  2. String controllerId
])

Removes the current navigation stack and navigates to the a new stack where the first route is the one passed as parameter.

The parameter controllerId is optional and it specifies the NavigationController to use for this specific stack.

Returns a Future that resolves as soon as the navigation completes.

Implementation

Future<void> resetStack(BeagleRoute route, [String controllerId]);