TaskListItem constructor

const TaskListItem({
  1. required String id,
  2. BackgroundTaskType? type,
  3. required String label,
  4. required TaskStatus status,
  5. BackgroundTaskState? task,
  6. bool isLeader = false,
})

Implementation

const TaskListItem({
  required this.id,
  this.type,
  required this.label,
  required this.status,
  this.task,
  this.isLeader = false,
});