setError method
void
setError({
- Exception? error,
- ResourceStateEnum state = ResourceStateEnum.ERROR,
- bool notify = true,
Implementation
void setError({
Exception? error,
ResourceStateEnum state = ResourceStateEnum.ERROR,
bool notify = true,
}) {
setState(state: state, error: error, notify: notify);
}