logError method
Implementation
void logError(Object? message, [Object? error, StackTrace? stackTrace]) {
if (message != null) {
stderr('** [HttpClient] ERROR> $message');
}
if (error != null) {
stderr(error);
}
if (stackTrace != null) {
stderr(stackTrace);
}
}