BloomRouter constructor
BloomRouter(
- List<
BloomRoute> routes, { - BloomRoute? notFound,
- bool trailing = false,
Creates a BloomRouter with the given routes hierarchy and options.
Implementation
BloomRouter(this.routes, {this.notFound, this.trailing = false}) {
if (!_activeRouters.contains(this)) {
_activeRouters.add(this);
}
}