TaskEntity constructor
const
TaskEntity({ - required String creatorId,
- required String createdAt,
- required String id,
- String? assigneeId,
- String? assignerId,
- required String content,
- required String description,
- required Due? due,
- DurationModel? duration,
- required List<String> labels,
- required int order,
- required int priority,
- required String projectId,
- String? sectionId,
- String? parentId,
- required String url,
- bool isCompleted = false,
})
Implementation
const TaskEntity({
required this.creatorId,
required this.createdAt,
required this.id,
this.assigneeId,
this.assignerId,
required this.content,
required this.description,
required this.due,
this.duration,
required this.labels,
required this.order,
required this.priority,
required this.projectId,
this.sectionId,
this.parentId,
required this.url,
this.commentCount = 0,
this.isCompleted = false,
});