isTerminal property

bool get isTerminal

Whether this status is terminal (no further transitions expected).

Implementation

bool get isTerminal =>
    this == CommandStatus.applied ||
    this == CommandStatus.rejected ||
    this == CommandStatus.cancelled ||
    this == CommandStatus.superseded ||
    this == CommandStatus.timedOut;