hasError property

bool hasError

returns true if itemState is equal to ItemState.hasError

Implementation

bool get hasError => itemState == ItemState.hasError;