SimpleInterceptor class abstract
Base class for simple Dio
interceptors to be used in conjunction with
CombiningSmartInterceptor.
Upon returning an instance of DioException
from onRequest or onResponse,
the error interceptors will NOT be called
Constructors
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
-
onError(
DioException error) → Future< Object?> -
Called when the interceptor should process an
error
-
onRequest(
RequestOptions options) → Future< Object?> -
Called when the interceptor should process the request (
options
) -
onResponse(
Response response) → Future< Object?> -
Called when the interceptor should process the request (
options
) -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited