addRoutes static method

void addRoutes(
  1. Map<String, RouteOptions> routes
)

添加多个路由

Implementation

static void addRoutes(Map<String, RouteOptions> routes) {
  // RouterManager.addRoutes(routes);
  RouterManager.routes.addAll(routes);
}