addRoutes method

Application addRoutes(
  1. List<ARoute> routes
)

addRoutes is a method that adds a a List of Route to the application.

Implementation

Application addRoutes(List<ARoute> routes) {
  this.routes.addAll(routes);
  return this;
}