MiddlewareChain<R, A> class

Constructors

MiddlewareChain([List<Middleware<R, A>>? middlewares])

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

addMiddleware(Middleware<R, A> middleware) → void
Adds a middleware to the end of this chain.
handlerChain(Handler<R, A> terminalHandler) → Handler<R, A>
Returns a handler that runs this middleware chain with terminalHandler at the end.
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