added project id to tojson function

This commit is contained in:
Benimautner 2023-12-23 23:04:27 +01:00
parent 2b505ceaf4
commit ccef93c37e
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ class Task {
'repeat_after': repeatAfter?.inSeconds,
'hex_color': color?.value.toRadixString(16).padLeft(8, '0').substring(2),
'kanban_position': kanbanPosition,
'project_id': projectId,
'labels': labels.map((label) => label.toJSON()).toList(),
'subtasks': subtasks.map((subtask) => subtask.toJSON()).toList(),
'attachments':