TomTodoStatus enum

An item's status. Wire names match the workspace todo.schema.json enum exactly, in both directions: the nine values here are the nine the schema lists, which _bin/check_todo_model.py in the workspace holds.

Every item has a status. none is an item that is currently not treated as a todo — a section, a note, an idea — and so stays out of the todo and reminder handling; setting a todo status brings it in. It is neither open work nor in the done group.

group is a todo group: not work itself, it lists its members in TomItem.comprisedOf. The VS Code extension completes it once every member is done and sets it back to group when a member is reopened; a <prefix>* queue walk passes it. It is neither open work nor in the done group (TomItem.isDone is false, TomItem.isGroup true).

waitingForRepeat is a repeated todo that was done and waits for its next repetition (TomItem.repeat, TomItem.nextRepeat); like decisionNeeded it is an open status, not in the done group.

decisionNeeded is the workspace's: a todo with an open question the user has to answer before work can start. It is an open status (not in the done group) and, like blocked, one the checkbox cannot express.

Inheritance
Available extensions

Values

notStarted → const TomTodoStatus
const TomTodoStatus('not-started')
inProgress → const TomTodoStatus
const TomTodoStatus('in-progress')
blocked → const TomTodoStatus
const TomTodoStatus('blocked')
decisionNeeded → const TomTodoStatus
const TomTodoStatus('decision-needed')
waitingForRepeat → const TomTodoStatus
const TomTodoStatus('waiting-for-repeat')
group → const TomTodoStatus
const TomTodoStatus('group')
none → const TomTodoStatus
const TomTodoStatus('none')
completed → const TomTodoStatus
const TomTodoStatus('completed')
cancelled → const TomTodoStatus
const TomTodoStatus('cancelled')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
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
wire → String
final

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

Static Methods

fromWire(String value) → TomTodoStatus

Constants

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