isFailure property

bool isFailure

true if the result is a failure, false otherwise.

Implementation

bool get isFailure => !isSuccess;