dvPageMiddlewareKeysBuilt top-level constant

Set<String> const dvPageMiddlewareKeysBuilt

Keys a page route runs before it activates.

Small, and honestly so. A page middleware can redirect and nothing else: it runs inside the router's redirect, which either returns a location or lets the route through. Both of these are decisions of exactly that shape.

Implementation

const Set<String> dvPageMiddlewareKeysBuilt = <String>{
  'auth',
  'maintenance',
};