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