hasError property

bool get hasError

Implementation

bool get hasError => state.state == LivenessState.error;