isFailure property

bool get isFailure

Returns true if this is a Failure.

Implementation

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