isTerminal property

bool get isTerminal

Whether this status represents a terminal state.

Implementation

bool get isTerminal =>
    this == succeeded || this == failed || this == cancelled;