hasError property

bool hasError

Returns true if the PagedValue is Success and has an error.

Implementation

bool get hasError => asSuccess.error != null;