Task constructor

Task({
  1. String? id,
  2. String? localId,
  3. String? spaceId,
  4. String? pageId,
  5. String? 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});