pushReplacementNamed<T extends Object?, TO extends Object?> method
Implementation
Future<T?> pushReplacementNamed<T extends Object?, TO extends Object?>({
required String routeName,
Object? arguments,
TO? result,
}) {
return navigator.pushReplacementNamed<T, TO>(
routeName,
result: result,
arguments: arguments,
);
}