Task class

Constructors

Task()
Task.fromJson(Map _json)

Properties

completed ↔ DateTime
Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
read / write
deleted ↔ bool
Flag indicating whether the task has been deleted. The default if False.
read / write
due ↔ DateTime
Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API.
read / write
etag ↔ String
ETag of the resource.
read / write
hidden ↔ bool
Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is read-only.
read / write
id ↔ String
Task identifier.
read / write
kind ↔ String
Type of the resource. This is always "tasks#task".
read / write
Collection of links. This collection is read-only.
read / write
notes ↔ String
Notes describing the task. Optional.
read / write
parent ↔ String
Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level.
read / write
position ↔ String
String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position.
read / write
URL pointing to this task. Used to retrieve, update, or delete this task.
read / write
status ↔ String
Status of the task. This is either "needsAction" or "completed".
read / write
title ↔ String
Title of the task.
read / write
updated ↔ DateTime
Last modification time of the task (as a RFC 3339 timestamp).
read / write
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

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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