TaskCommentList constructor

TaskCommentList({
  1. List<TaskComment> comments = const [],
  2. required int total,
})

Returns a new TaskCommentList instance.

Implementation

TaskCommentList({
  this.comments = const [],
  required this.total,
});