A single chain instance in the chain of interceptors that is called in order to process requests and responses.
The chain is used to proceed to the next interceptor in the chain. Call proceed to proceed to the next interceptor in the chain.
await chain.proceed(request);
Constructors
- Chain()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- request → Request
-
The request to be processed by the chain up to this point.
The request is provide by the previous interceptor in the chain.
no setter
- 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
-
proceed(
Request request) → FutureOr< Response< BodyType> > -
Proceed to the next interceptor in the chain.
Provide the
request
to be processed by the next interceptor. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited