isFailure property

bool get isFailure

Returns true when this is a Failure.

Implementation

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