void onResponse(String method, String url, { required int statusCode, dynamic body, Map<String, dynamic>? headers, });