isFailed property

bool isFailed

Returns true if the operation state is equals to OperationState.error.

Implementation

bool get isFailed => this == OperationState.error;