Collapses a summary task.
Task.collapse()
This method collapses the summary task on which it is invoked, hiding all child tasks of that summary task.
See also collapseTasks method expand methodexpandTasks method