This is a plugin that lets you intercept the different requests and responses from Dart’s http package . You can use to add headers, modify query params, or print a log of the response.
Read moreWhat is Interceptor in Dart?
Interceptor class Null safety Dio instance may have interceptor(s) by which you can intercept requests/responses/errors before they are handled by then or catchError .
Read more