hasError property

bool get hasError

Indicates if the resource has an error.

Implementation

bool get hasError => this is ResourceError<T>;