apiResponse static method

void apiResponse(
  1. String url,
  2. int statusCode,
  3. String? response
)

Log API response

Implementation

static void apiResponse(String url, int statusCode, String? response) {
  debug(
      'API Response - $url returned $statusCode ${response != null ? 'with body' : 'no body'}');
}