addRoute method

void addRoute(
  1. GetPage route
)

Implementation

void addRoute(GetPage route) {
  matcher.addRoute(route.name);
  tree[route.name] = route;
  handleChild(route);
}