push method

void push(
  1. AppRoute<dynamic, RouteParams> route, {
  2. RouteParams? args,
})

Implementation

void push(AppRoute route, {RouteParams? args}) {
  final match =
      this.matchAppRoute(route, args ?? const DefaultRouteParams(const {}));
  this.setNewRoutePath(match);
}