hasError property
bool
hasError
Returns true
if the PagedValue is Success
and has an error.
Implementation
bool get hasError => asSuccess.error != null;
Returns true
if the PagedValue is Success
and has an error.
bool get hasError => asSuccess.error != null;