DartnessInterceptor is an interface in order to handle the request before it is executed and handle the response after the request is executed.
- Implementers
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(
Object error, StackTrace stackTrace) → void - This method is called when an error occurs when executing the request.
-
onRequest(
DartnessRequest request) → void - This method is called before the request is executed.
-
onResponse(
DartnessResponse response) → void - This method is called after the request is executed.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited