Creates a new TasksTask with the given ID and default properties.
the task's ID, or null
null
a new TasksTask; unref with unref