exclusivelyIsLoading property

bool get exclusivelyIsLoading

Whether the value is exclusively loading and has no error or value.

Useful for knowing if there is absolutely no data or error to display and a loading indicator can be shown.

Implementation

bool get exclusivelyIsLoading => isLoading && !hasValue && !hasError;