CommentResponse constructor

CommentResponse(
  1. int id,
  2. int replies,
  3. int likes,
  4. CommentSharing? sharing,
  5. String comment,
  6. bool spoiler,
  7. bool review,
  8. User user,
  9. int parentId,
  10. UserStats userStats,
  11. String createdAt,
  12. String updatedAt,
)

Implementation

CommentResponse(
    this.id,
    this.replies,
    this.likes,
    this.sharing,
    this.comment,
    this.spoiler,
    this.review,
    this.user,
    this.parentId,
    this.userStats,
    this.createdAt,
    this.updatedAt);