DVPageMiddleware class

Runs a page's declared middleware, for the generated router.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

isDown ↔ Future<bool> Function()?
Whether the application is down, for DVMiddlewares.maintenance.
getter/setter pair
isSignedIn ↔ Future<bool> Function()?
Whether somebody is signed in, for DVMiddlewares.auth.
getter/setter pair
maintenanceAllows ↔ List<String>
Routes that stay reachable while the application is down.
getter/setter pair

Static Methods

check(Object? context, Object? state, List<String> keys) → Future<String?>
Where to send this visitor, or null to let the route activate.