@override Future<Response> handle(Request request) async { onRequest?.call(request); final response = await handler.handle(request); onResponse?.call(response); return response; }