replaceNamed<T> method

Future<T?> replaceNamed<T>(
  1. String routeName, {
  2. Object? arguments,
})

Implementation

Future<T?> replaceNamed<T>(String routeName, {Object? arguments}) =>
    Navigator.of(this).pushReplacementNamed(routeName, arguments: arguments);