goToNamedAndRemoveUntil<T extends Object?> method

Future<T?> goToNamedAndRemoveUntil<T extends Object?>(
  1. String routeName,
  2. RoutePredicate predicate, {
  3. Object? arguments,
})

Implementation

Future<T?> goToNamedAndRemoveUntil<T extends Object?>(
  String routeName,
  RoutePredicate predicate, {
  Object? arguments,
}) {
  return Navigator.pushNamedAndRemoveUntil(
    this,
    routeName,
    predicate,
    arguments: arguments,
  );
}