Task constructor

Task({
  1. required int id,
  2. required String title,
  3. required String description,
  4. required int order,
  5. int? votes,
  6. required int statusId,
  7. Status? status,
  8. List<Comment>? comments,
})

Implementation

Task({
  required this.id,
  required this.title,
  required this.description,
  required this.order,
  this.votes,
  required this.statusId,
  this.status,
  this.comments,
});