pushNamed method

  1. @Deprecated('Use toNamed (vRedirector.toNamed) instead')
void pushNamed(
  1. String name, {
  2. Map<String, String> pathParameters = const {},
  3. Map<String, String> queryParameters = const {},
  4. String? hash,
  5. 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,
    );