replaceNamed<T extends Object?> method
- @Deprecated('Use replacePath instead')
- String path, {
- bool includePrefixMatches = false,
- OnNavigationFailure? onFailure,
Removes last entry in stack and pushes given path
Implementation
@Deprecated('Use replacePath instead')
Future<T?> replaceNamed<T extends Object?>(
String path, {
bool includePrefixMatches = false,
OnNavigationFailure? onFailure,
}) =>
replacePath<T>(
path,
includePrefixMatches: includePrefixMatches,
onFailure: onFailure,
);