phase property

AgentWorkPhase get phase

The lifecycle phase of this status.

Implementation

AgentWorkPhase get phase => switch (this) {
  working => AgentWorkPhase.working,
  waiting => AgentWorkPhase.waiting,
  complete => AgentWorkPhase.settled,
};