TaskListItem constructor
const
TaskListItem({
- required String id,
- BackgroundTaskType? type,
- required String label,
- required TaskStatus status,
- BackgroundTaskState? task,
- bool isLeader = false,
Implementation
const TaskListItem({
required this.id,
this.type,
required this.label,
required this.status,
this.task,
this.isLeader = false,
});