logResponse function
void
logResponse(
- dynamic response
Implementation
void logResponse(response) => kDebugMode
? Logger().d([
response.request.toString(),
response.request.url.path,
"REQUEST:",
response.request.headers,
json.decode(response.request.body),
"RESPONSE:",
response.statusCode,
json.decode(response.body)
])
: null;