AgentWorkPhase enum

Where a piece of Agent work is in its lifecycle.

Every status maps to one phase, so the disclosure policy and the announcer read surfaces with different statuses the same way.

Inheritance
Available extensions

Values

waiting → const AgentWorkPhase

Paused for a decision from the reader, such as an approval.

working → const AgentWorkPhase

In progress.

settled → const AgentWorkPhase

Finished without a failure: done, denied or cancelled.

failed → const AgentWorkPhase

Finished with a failure.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isFinished → bool
Whether the work has finished, with or without a failure.
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<AgentWorkPhase>
A constant List of the values in this enum, in order of their declaration.