hasError property

bool get hasError

Checks if the state has an error

Implementation

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