pushReplacement<T extends Object?, TO extends Object?> method
Future<T?>
pushReplacement<T extends Object?, TO extends Object?>(
- Route<
T> newRoute, { - TO? result,
Implementation
Future<T?> pushReplacement<T extends Object?, TO extends Object?>(
Route<T> newRoute,
{TO? result}) =>
navigator.pushReplacement(newRoute, result: result);