mount method

  1. @override
SymlinkRoute<T> mount(
  1. String path,
  2. Router<T> router
)
override

Incorporates another Router's routes into this one's.

Implementation

@override
SymlinkRoute<T> mount(String path, Router<T> router) {
  final route = super.mount(path, router);
  route.router._middleware.insertAll(0, _handlers);
  //_root._routes.add(route);
  return route;
}