I am debugging the API call to server for authentication. When I debug in Android Studio and step into the request, network shows multiple requests being made. While not debugging, the request are happening only once, but during debugging with breakpoints, there are mutltitude of requests being made.

These are the base options and interceptors being used. The interceptor also confirms that multiple requests are being made for some reason.

 Dio get dio => Dio(BaseOptions(
        contentType: Headers.jsonContentType,
        responseType: ResponseType.json,
        headers: {
          'Accept': Headers.jsonContentType,

enter image
description here

How can I resolve the issue?