ErrorInterceptorHandler class Null safety

Handler for error interceptor.

Constructors

ErrorInterceptorHandler()

Properties

future Future<InterceptorState>
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isCompleted bool
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

next(DioError err) → void
Continue to call the next error interceptor.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
reject(DioError error) → void
Complete the request with a error directly! Other error interceptor(s) will not be executed.
resolve(Response response) → void
Complete the request with Response object and other error interceptor(s) will not be executed. This will be considered a successful request! [...]
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited