failed property

bool get failed

Returns true if the status of this goal is FAILED.

Implementation

bool get failed => status == GoalStatus.failed;