isError property
bool
isError
Indicates if an error occurred in the response.
Implementation
bool get isError => _error ?? false;
Sets the error status of the response.
Implementation
set isError(bool value) => _error = value;