toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'title': title.toJson(),
'tasks': [for (final e in tasks) e.toJson()],
'others_can_add_tasks': othersCanAddTasks,
'others_can_mark_tasks_as_done': othersCanMarkTasksAsDone,
};