/// <summary> /// Add a task. Implementation of the Quick Add Task available in the official clients. /// </summary> /// <param name="quickAddItem">The quick add item.</param> /// <returns>The created task.</returns> /// <exception cref="ArgumentNullException"><paramref name="quickAddItem"/> is <see langword="null"/></exception> /// <exception cref="HttpRequestException">API exception.</exception> public Task <Item> QuickAddAsync(QuickAddItem quickAddItem) { if (quickAddItem == null) { throw new ArgumentNullException(nameof(quickAddItem)); } return(TodoistClient.PostAsync <Item>("quick/add", quickAddItem.ToParameters())); }