completedTasksFor method

int completedTasksFor(
  1. Task task
)

Implementation

int completedTasksFor(Task task) => resultsFor(task.id).length;