Route constructor
Route(
- Api api,
- dynamic match, {
- dynamic security,
- ApiClient? apiClient,
- List<
HttpHandler> middlewares = const [],
Implementation
Route(this.api, match,
{security,
ApiClient? apiClient,
List<HttpHandler> middlewares = const []})
: match = api.opts.basePath + match,
security = security ?? api.opts.security {
_middlewares = middlewares;
}