addRouters method

Application addRouters(
  1. List<Router> routers
)

addRouters is a method that adds a List Router to the application. routers is a List Router that contains the router.

Implementation

Application addRouters(List<Router> routers) {
  this.routers.addAll(routers);
  return this;
}