isFailure property

bool isFailure

Whether this instance is of final type OperationFailure.

Implementation

bool get isFailure => this is OperationFailure<T>;