MiddlewareRunner constructor
MiddlewareRunner(
- List<
GetMiddleware> ? middlewares
Implementation
MiddlewareRunner(List<GetMiddleware>? middlewares)
: _middlewares = middlewares != null
? (List.of(middlewares)..sort(_compareMiddleware))
: const [];