link static method

dynamic link(
  1. dynamic route,
  2. dynamic controller
)

Implementation

static link(route, controller) {
  Route().addRoute('LINK', Route()._prefix + route, controller);
}