Context constructor
Context(
- Request req, {
- SessionManager? sessionManager,
- required Logger log,
- required Map<
Type, UserFetcher< userFetchers,AuthorizationUser> > - required List<
RouteInterceptor> before, - required List<
RouteInterceptor> after, - required List<
ExceptionHandler> onException, - 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();