hasError property

bool get hasError

Wether the state is in the error status

Implementation

bool get hasError => status == StateStatus.hasError;