Context constructor

Context(
  1. Request req, {
  2. SessionManager? sessionManager,
  3. required Logger log,
  4. required Map<Type, UserFetcher<AuthorizationUser>> userFetchers,
  5. required List<RouteInterceptor> before,
  6. required List<RouteInterceptor> after,
  7. required List<ExceptionHandler> onException,
  8. DateTime? at,
})

Implementation

Context(this.req,
    {this.sessionManager,
    required this.log,
    required this.userFetchers,
    required this.before,
    required this.after,
    required this.onException,
    DateTime? at})
    : at = at ?? DateTime.now().toUtc();