isError property

bool get isError

Returns true if the status represents any error state.

Error states include: invalid, dropped, or usurped. Use error to get the error details if available.

Implementation

bool get isError => isInvalid || isDropped || isUsurped;