PlannerTask class

Represents a task in Microsoft Planner.

Annotations
  • @JsonSerializable.new()

Constructors

PlannerTask({String? id, String? title, String? planId, String? bucketId, int? priority, int? checklistItemCount, int? activeChecklistItemCount, int? percentComplete, String? dueDateTime, String? createdDateTime, String? startDateTime, String? completedDateTime, String? lastModifiedDateTime, String? completedBy, Map<String, bool>? appliedCategories, Map<String, TaskAssignment>? assignments, String? previewType, bool? completed, String? referenceCount, String? assigneePriority, String? orderHint, PlannerTaskDetails? details})
Creates a new PlannerTask instance.
PlannerTask.fromJson(Map<String, dynamic> json)
Creates a PlannerTask instance from JSON data.
factory

Properties

activeChecklistItemCount → int?
The number of checklist items that are completed.
final
appliedCategories → Map<String, bool>?
A set of category key-value pairs for the task.
final
assigneePriority → String?
The ID of the task assigned for the label.
final
assignments → Map<String, TaskAssignment>?
The user IDs of users assigned to the task.
final
bucketId → String?
The ID of the bucket that contains the task.
final
checklistItemCount → int?
The number of checklist items in the task.
final
completed → bool?
Indicates if the task is completed or not.
final
completedBy → String?
The date and time when the task was completed.
final
completedDateTime → String?
The date and time when the task was completed.
final
createdDateTime → String?
The date and time when the task was created.
final
details → PlannerTaskDetails?
Additional details about the task.
final
dueDateTime → String?
The date and time when the task is due.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
The unique identifier of the task.
final
lastModifiedDateTime → String?
A date and time type value that indicates when the task was last modified.
final
orderHint → String?
The ID of the user who created the task.
final
percentComplete → int?
The percentage of the task that is complete (0-100).
final
planId → String?
The ID of the plan that contains the task.
final
previewType → String?
The URL to view the task in the Microsoft Planner UI.
final
priority → int?
The task's priority value between 0 and 10 (higher value = higher priority).
final
referenceCount → String?
The URL of a preview image for the task.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startDateTime → String?
The date when the task was started.
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 PlannerTask instance to JSON data.
toString() → String
A string representation of this object.
inherited

Operators

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