isDone property

bool get isDone

Whether the step is finished, complete or cancelled.

Implementation

bool get isDone => this == complete || this == cancelled;