Task constructor
const Task({required String id, required String title, required User creator, required Event event, required String createdAt, String? description, String? deadline})
Implementation
const Task(\{
required this.id,
required this.title,
required this.creator,
required this.event,
required this.createdAt,
this.description,
this.deadline,
\});