any static method
A route for every HTTP method. Anything chained after it applies to all of them.
Implementation
static Router any(String path, Function action) {
final router = Router();
final added = <RouteData>[];
for (final method in HttpRequestMethod.values) {
_addRoute(method, path, action);
added.addAll(router._lastAdded);
}
router._lastAdded = added;
return router;
}