TasksResource class

Constructors

TasksResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear(String tasklist, {String? $fields}) Future<void>
Clears all completed tasks from the specified task list.
delete(String tasklist, String task, {String? $fields}) Future<void>
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, int? 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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Task request, String tasklist, String task, {String? $fields}) Future<Task>
Updates the specified task.
toString() String
A string representation of this object.
inherited
update(Task request, String tasklist, String task, {String? $fields}) Future<Task>
Updates the specified task.

Operators

operator ==(Object other) bool
The equality operator.
inherited