add

fun add(): Uri

Saves the unsaved task into the task provider storage.

Return

content URI of the created task

Throws

when the tasks provider doesn't return a result row

on tasks provider errors