CommentListResponse constructor

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

Returns a new CommentListResponse instance.

Implementation

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