pushNamed<T> method

Future<T> pushNamed<T>(
  1. String path, {
  2. Object? arguments,
  3. JsonMap? urlArgs,
})

Implementation

Future<T> pushNamed<T>(String path, {Object? arguments, JsonMap? urlArgs}) {
  final appRoute = appRouter.getRouteForPath(path)(arguments);

  return push(appRoute, urlArguments: urlArgs);
}