tasksForWorker method

List<TaskInfo> tasksForWorker(
  1. String workerId, {
  2. TaskState? state,
})

Tasks associated with workerId, most-recently-updated first.

Implementation

List<TaskInfo> tasksForWorker(String workerId, {TaskState? state}) => tasks(
      worker: workerId,
      state: state,
      limit: maxTasks,
    );