mount method
Incorporates another Router's routes into this one's.
Implementation
@override
SymlinkRoute<RequestHandler> mount(
String path, Router<RequestHandler> router) {
if (_flattened != null) {
logger.warning(
'WARNING: You added mounted a child router ($path) on the router, after it had been optimized.');
logger.warning(
'This route will be ignored, and no requests will ever reach it.');
}
if (router is Angel) {
router._parent = this;
_children.add(router);
}
return super.mount(path.toString(), router);
}