mount method

void mount(
  1. String prefix,
  2. Router router
)

Implementation

void mount(String prefix, Router router) {
  for (Path path in router._paths) {
    path.pattern = PathPattern.parse(pp.join(prefix, path.pattern.path));
    _paths.add(path);
  }
}