hasError property

bool hasError

Whether the state is AsyncError.

Implementation

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