interceptResponse method

  1. @override
Future<ResponseData> interceptResponse({
  1. required ResponseData data,
})
override

Implementation

@override
Future<ResponseData> interceptResponse({required ResponseData data}) async {
  logFunction('Response: ${data.statusCode} ${data.url}');
  logFunction('Headers: ${data.headers}');
  logFunction('Body: ${data.body}');
  return data;
}