TaskStatus class final
Revisions: 2025-11-25, ext-tasks/2026-07-28.
- Inheritance
- Available extensions
Constructors
- TaskStatus.of(String value)
-
The value
value; one outside the schema is kept as is.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTerminal → bool
-
Available on TaskStatus, provided by the TaskStatusLifecycle extension
completed,failedorcancelled: no further transitions.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The wire value.
finalinherited
- wire → String
-
2.x name for value: the wire string.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
The JSON form of this value.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromWire(
String s) → TaskStatus - 2.x reader: a status this revision set defines; any other is an ArgumentError, as in 2.x (use TaskStatus.of to keep it instead).
Constants
- cancelled → const TaskStatus
- completed → const TaskStatus
- failed → const TaskStatus
- inputRequired → const TaskStatus
-
values
→ const List<
TaskStatus> - Every value the schema defines.
- working → const TaskStatus