addRoute method

Application addRoute(
  1. ARoute route
)

addRoute is a method that adds a new Route to the application. route is a Route that contains the route.

Implementation

Application addRoute(ARoute route) {
  routes.add(route);
  return this;
}