fail method
void
fail(
- dynamic error
Called when a data load fails.
By default, this sets the state to ServiceStatus.failed.
Implementation
void fail(dynamic error) {
_error = error;
_status = ServiceStatus.failed;
}