Pipeline constructor

Pipeline([
  1. List<Middleware>? h,
  2. List<ErrMiddleware>? eh
])

init new Pipeline

Implementation

Pipeline([List<Middleware>? h, List<ErrMiddleware>? eh])
    : reqHandlers = h ?? [],
      errHandlers = eh ?? [];