Checklist constructor

Checklist({
  1. FormattedText? title,
  2. required List<ChecklistTask> tasks,
  3. required bool othersCanAddTasks,
  4. required bool canAddTasks,
  5. required bool othersCanMarkTasksAsDone,
  6. required bool canMarkTasksAsDone,
})

Implementation

Checklist({
  this.title,
  required this.tasks,
  required this.othersCanAddTasks,
  required this.canAddTasks,
  required this.othersCanMarkTasksAsDone,
  required this.canMarkTasksAsDone,
});