NestedRouteExtension extension

on

Methods

route(String path, {List<FutureOr Function(HttpRequest req, HttpResponse res)> middleware = const []}) NestedRoute
Creates one or multiple route segments that can be used as a common base for specifying routes with get, post, etc.