isFinished property

bool get isFinished

Whether the work has finished, with or without a failure.

Implementation

bool get isFinished => this == settled || this == failed;