TodoTask class
Represents a task in Microsoft To Do.
- Annotations
-
- @JsonSerializable()
Constructors
-
TodoTask.new({String? id, String? title, String? body, String? status, String? importance, bool? isCompleted, bool? hasRecurrence, String? createdDateTime, String? lastModifiedDateTime, String? dueDateTime, String? completedDateTime, String? parentListId, List<
String> ? categories, RecurrencePattern? recurrence, Map<String, dynamic> ? extensions, LinkedResources? linkedResources}) - Creates a new TodoTask instance.
-
TodoTask.fromJson(Map<
String, dynamic> json) -
Creates a TodoTask instance from a JSON object.
factory
Properties
- body → String?
-
The detailed description of the task.
final
-
categories
→ List<
String> ? -
Collection of categories associated with the task.
final
- completedDateTime → String?
-
The date and time when the task should be completed.
final
- createdDateTime → String?
-
Time when the task was created.
final
- dueDateTime → String?
-
The date and time when the task is due.
final
-
extensions
→ Map<
String, dynamic> ? -
Custom properties for the task.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRecurrence → bool?
-
Flag indicating whether the task is recurring.
final
- id → String?
-
The unique identifier of the task.
final
- importance → String?
-
The importance of the task.
final
- isCompleted → bool?
-
Flag indicating whether the task has been completed.
final
- lastModifiedDateTime → String?
-
Time when the task was last modified.
final
- linkedResources → LinkedResources?
-
Links related to the task.
final
- parentListId → String?
-
The ID of the task list that contains the task.
final
- recurrence → RecurrencePattern?
-
The task's recurrence pattern.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String?
-
The status of the task.
final
- title → String?
-
The title of the task.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this TodoTask instance to a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited