isFailure property

bool get isFailure

Implementation

bool get isFailure => error != null;