pushReplacement method
- @override
- @Deprecated('Use vRouter.to(..., isReplacement: true) instead')
- String newUrl, {
- Map<
String, String> queryParameters = const {}, - String? hash,
- Map<
String, String> historyState = const {},
inherited
Implementation
@override
@Deprecated('Use vRouter.to(..., isReplacement: true) instead')
void pushReplacement(
String newUrl, {
Map<String, String> queryParameters = const {},
String? hash,
Map<String, String> historyState = const {},
}) =>
to(
newUrl,
queryParameters: queryParameters,
hash: hash,
historyState: historyState,
isReplacement: true,
);