ThreadedCommentResponse constructor

const ThreadedCommentResponse({
  1. List<Attachment>? attachments,
  2. required double confidenceScore,
  3. double? controversyScore,
  4. required DateTime createdAt,
  5. Map<String, Object?>? custom,
  6. DateTime? deletedAt,
  7. required int downvoteCount,
  8. required String id,
  9. List<FeedsReactionResponse>? latestReactions,
  10. required List<UserResponse> mentionedUsers,
  11. RepliesMeta? meta,
  12. ModerationV2Response? moderation,
  13. required String objectId,
  14. required String objectType,
  15. required List<FeedsReactionResponse> ownReactions,
  16. String? parentId,
  17. required int reactionCount,
  18. Map<String, ReactionGroupResponse>? reactionGroups,
  19. List<ThreadedCommentResponse>? replies,
  20. required int replyCount,
  21. required int score,
  22. required String status,
  23. String? text,
  24. required DateTime updatedAt,
  25. required int upvoteCount,
  26. required UserResponse user,
})

Implementation

const ThreadedCommentResponse({
  this.attachments,
  required this.confidenceScore,
  this.controversyScore,
  required this.createdAt,
  this.custom,
  this.deletedAt,
  required this.downvoteCount,
  required this.id,
  this.latestReactions,
  required this.mentionedUsers,
  this.meta,
  this.moderation,
  required this.objectId,
  required this.objectType,
  required this.ownReactions,
  this.parentId,
  required this.reactionCount,
  this.reactionGroups,
  this.replies,
  required this.replyCount,
  required this.score,
  required this.status,
  this.text,
  required this.updatedAt,
  required this.upvoteCount,
  required this.user,
});