TasksResourceApi class


TasksResourceApi(ApiRequester client)


hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


clear(String tasklist, {String $fields}) → Future
Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list. [...]
delete(String tasklist, String task, {String $fields}) → Future
Deletes the specified task from the task list. [...]
get(String tasklist, String task, {String $fields}) → Future<Task>
Returns the specified task. [...]
insert(Task request, String tasklist, {String parent, String previous, String $fields}) → Future<Task>
Creates a new task on the specified task list. [...]
list(String tasklist, {String completedMax, String completedMin, String dueMax, String dueMin, String maxResults, String pageToken, bool showCompleted, bool showDeleted, bool showHidden, String updatedMin, String $fields}) → Future<Tasks>
Returns all tasks in the specified task list. [...]
move(String tasklist, String task, {String parent, String previous, String $fields}) → Future<Task>
Moves the specified task to another position in the task list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. [...]
patch(Task request, String tasklist, String task, {String $fields}) → Future<Task>
Updates the specified task. This method supports patch semantics. [...]
update(Task request, String tasklist, String task, {String $fields}) → Future<Task>
Updates the specified task. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.