prettyLog method

void prettyLog({
  1. String params = "",
})

Logs method, url, status, params and body to the debug console.

Implementation

void prettyLog({String params = ""}) => developer.log(
  "${this?.request?.method} - ${this?.request?.url} - ${this?.statusCode} \nPARAMS: $params \nRESPONSE: ${this?.body}",
);