NestedRoute constructor

NestedRoute({
  1. required Alfred alfred,
  2. required String basePath,
  3. required List<FutureOr Function(HttpRequest req, HttpResponse res)> baseMiddleware,
})

Implementation

NestedRoute(
    {required Alfred alfred,
    required String basePath,
    required List<FutureOr Function(HttpRequest req, HttpResponse res)>
        baseMiddleware})
    : _alfred = alfred,
      _basePath = basePath,
      _baseMiddleware = baseMiddleware;