toEntity method
Implementation
TaskEntity toEntity() {
return TaskEntity(
creatorId: creatorId,
createdAt: createdAt,
assigneeId: assigneeId,
assignerId: assignerId,
commentCount: commentCount,
isCompleted: isCompleted,
content: content,
description: description,
due: due?.toEntity(),
duration: duration,
id: id,
labels: labels,
order: order,
priority: priority,
projectId: projectId,
sectionId: sectionId,
parentId: parentId,
url: url,
);
}