hasError property

bool hasError
final

Indicates if an error has occurred.

While set to true, the onFetchData callback will not be triggered and the errorBuilder will be rendered.

Is set to false by default and cannot be null.

Implementation

final bool hasError;