goToNamedReplacement<T extends Object?> method
Implementation
Future<T?> goToNamedReplacement<T extends Object?>(
String routeName, {
Object? arguments,
}) {
return Navigator.pushReplacementNamed(
this,
routeName,
arguments: arguments,
);
}