showError method
Implementation
void showError(String description) {
if (description.contains("DioErrorType.other")) {
final statusz = humanReadableErrors(description);
ElegantNotification.error(description: Text(statusz)).show(context!);
} else {
ElegantNotification.error(description: Text(description)).show(context!);
}
}