APIErrors constructor
APIErrors({})
Implementation
APIErrors({
this.code,
this.message,
this.details,
this.showLog = true,
this.errorCodeFromEngine,
}) {
if (showLog) {
logger.e(details, error: "[$code] $message");
}
}