state property

TaskState state

Gets the current state of the task.

Returns: The TaskState.

Implementation

TaskState get state {
  return _state;
}
void state=(TaskState newState)

Sets the state of the task.

Implementation

set state(TaskState newState) {
  this._state = newState;
}