logResponse static method
Logs the response status and data.
Implementation
static void logResponse(int? statusCode, dynamic data) {
final now = DateTime.now();
final tag = useEmoji ? "📦 Response" : "Response";
final prefix = useColor ? ConsoleStyle.green : '';
final reset = useColor ? ConsoleStyle.reset : '';
print("\n========== $prefix[$tag] [$now]$reset ==========");
print("Status Code: $statusCode");
print("Body:\n${_prettyPrintJson(data)}");
print("===============================================\n");
}