hasError property

bool get hasError

Whether this value represents an error state.

Implementation

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