setAsError method
Set the pod to an error state.
Implementation
void setAsError(Object e) {
_status = AsyncStatus.error;
_error = e;
notifyListeners();
}
Set the pod to an error state.
void setAsError(Object e) {
_status = AsyncStatus.error;
_error = e;
notifyListeners();
}