interceptResponse method

  1. @override
Future<BaseResponse> interceptResponse({
  1. required BaseResponse response,
})
override

Implementation

@override
Future<BaseResponse> interceptResponse(
    {required BaseResponse response}) async {
  if (response is StreamedResponse) {
    // response.stream.asBroadcastStream().listen((data) {
    //   print(data);
    // });
  }
  return response;
}