Comment constructor

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

Implementation

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