Comment constructor

Comment({
  1. required int id,
  2. required String content,
  3. required int votes,
  4. required int taskId,
})

Implementation

Comment({
  required this.id,
  required this.content,
  required this.votes,
  required this.taskId,
});