Interceptor class abstract

Abstract class for intercepting HTTP requests and responses.

Implementers

Constructors

Interceptor()

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) Future<void>
Called when an error occurs.
onRequest(BaseRequest request) Future<void>
Called before a request is sent.
onResponse(Response response) Future<void>
Called after a response is received.
toString() String
A string representation of this object.
inherited

Operators

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