pushAndRemoveUntil<T extends Object?> method
Push the given route onto the navigator, and then remove all the previous
routes until the predicate
returns true.
Implementation
@optionalTypeArgs
Future<T?> pushAndRemoveUntil<T extends Object?>(
Route<T> newRoute, RoutePredicate predicate) =>
App.router.pushAndRemoveUntil<T>(newRoute, predicate);