Demotes the task on which it is invoked.
Task.demote()
This method demotes the task on which it is invoked by indenting it one level. The task becomes a subtask of the nearest less-indented task above it.
See also
demoteTasks method
promote method
promoteTasks method