pushNamed method
- @Deprecated('Use toNamed (vRedirector.toNamed) instead')
- String name, {
- Map<
String, String> pathParameters = const {}, - Map<
String, String> queryParameters = const {}, - String? hash,
- Map<
String, String> historyState = const {},
override
Prevent the current redirection and pushNamed a route instead
See VRouter.push
for more information on push
Implementation
@Deprecated('Use toNamed (vRedirector.toNamed) instead')
void pushNamed(
String name, {
Map<String, String> pathParameters = const {},
Map<String, String> queryParameters = const {},
String? hash,
Map<String, String> historyState = const {},
}) =>
toNamed(
name,
pathParameters: pathParameters,
queryParameters: queryParameters,
hash: hash,
historyState: historyState,
);