hasError property

bool hasError

Returns true if value is LoadingStatus.error.

Implementation

bool get hasError => value == LoadingStatus.error;