Task constructor

Task({
  1. dynamic id,
  2. dynamic localId,
  3. dynamic spaceId,
  4. dynamic pageId,
  5. dynamic blogPostId,
  6. TaskStatus? status,
  7. BodySingle? body,
  8. String? createdBy,
  9. String? assignedTo,
  10. String? completedBy,
  11. DateTime? createdAt,
  12. DateTime? updatedAt,
  13. DateTime? dueAt,
  14. DateTime? completedAt,
})

Implementation

Task(
    {this.id,
    this.localId,
    this.spaceId,
    this.pageId,
    this.blogPostId,
    this.status,
    this.body,
    this.createdBy,
    this.assignedTo,
    this.completedBy,
    this.createdAt,
    this.updatedAt,
    this.dueAt,
    this.completedAt});