hasError property

bool hasError

Implementation

bool get hasError => state is Failed;