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