setStateError method
void
setStateError(
- Error value
Implementation
void setStateError(Error value) => {
data.value = null,
loading.value = null,
error.value = value,
};
void setStateError(Error value) => {
data.value = null,
loading.value = null,
error.value = value,
};