Task class
Constructors
-
Task({dynamic id, dynamic localId, dynamic spaceId, dynamic pageId, dynamic blogPostId, TaskStatus? status, BodySingle? body, String? createdBy, String? assignedTo, String? completedBy, DateTime? createdAt, DateTime? updatedAt, DateTime? dueAt, DateTime? completedAt})
-
-
Task.fromJson(Map<String, Object?> json)
-
factory
Properties
-
assignedTo
→ String?
-
Account ID of the user to whom this task is assigned.
final
-
blogPostId
→ dynamic
-
ID of the blog post the task is in.
final
-
body
→ BodySingle?
-
final
-
completedAt
→ DateTime?
-
Date and time when the task was completed. In format
"YYYY-MM-DDTHH:mm:ss.sssZ".
final
-
completedBy
→ String?
-
Account ID of the user who completed this task.
final
-
createdAt
→ DateTime?
-
Date and time when the task was created. In format
"YYYY-MM-DDTHH:mm:ss.sssZ".
final
-
createdBy
→ String?
-
Account ID of the user who created this task.
final
-
dueAt
→ DateTime?
-
Date and time when the task is due. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
id
→ dynamic
-
ID of the task.
final
-
localId
→ dynamic
-
Local ID of the task. This ID is local to the corresponding page or blog
post.
final
-
pageId
→ dynamic
-
ID of the page the task is in.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
spaceId
→ dynamic
-
ID of the space the task is in.
final
-
status
→ TaskStatus?
-
Status of the task.
final
-
updatedAt
→ DateTime?
-
Date and time when the task was updated. In format
"YYYY-MM-DDTHH:mm:ss.sssZ".
final
Methods
-
copyWith({dynamic id, dynamic localId, dynamic spaceId, dynamic pageId, dynamic blogPostId, TaskStatus? status, BodySingle? body, String? createdBy, String? assignedTo, String? completedBy, DateTime? createdAt, DateTime? updatedAt, DateTime? dueAt, DateTime? completedAt})
→ Task
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, Object?>
-
-
toString()
→ String
-
A string representation of this object.
inherited