popAndPushNamed<T, R> method
Forwards execution to Navigator.popAndPushNamed.
Implementation
Future<T?> popAndPushNamed<T, R>(String route,
{R? result, Object? arguments}) async =>
state?.popAndPushNamed(route, result: result, arguments: arguments);