hasCompleted property

bool get hasCompleted

Implementation

bool get hasCompleted {
  var isComplete = true;
  isComplete &= code != null && code != -99;
  isComplete &= completedTasks.contains(resolvedTask.index);
  isComplete &= subTasks.every((task) => task.hasCompleted);

  return isComplete;
}