handleError static method
Implementation
static handleError(APIException? error) {
Fluttertoast.showToast(msg: error?.message ?? ErrorMessages.networkGeneral);
}
static handleError(APIException? error) {
Fluttertoast.showToast(msg: error?.message ?? ErrorMessages.networkGeneral);
}