hasError property

bool get hasError

Whether this value represents a failed operation.

Implementation

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