Pipeline constructor
Pipeline([
- List<
Middleware> ? h, - List<
ErrMiddleware> ? eh
init new Pipeline
Implementation
Pipeline([List<Middleware>? h, List<ErrMiddleware>? eh])
: reqHandlers = h ?? [],
errHandlers = eh ?? [];