ReviewQueueItem constructor

ReviewQueueItem({
  1. List<ActionLog> actions = const [],
  2. UserObject? assignedTo,
  3. List<Ban> bans = const [],
  4. required NullTime completedAt,
  5. required bool contentChanged,
  6. required DateTime createdAt,
  7. UserObject? entityCreator,
  8. required String entityId,
  9. required String entityType,
  10. EnrichedActivity? feedsV2Activity,
  11. Reaction? feedsV2Reaction,
  12. List<Flag2> flags = const [],
  13. required bool hasImage,
  14. required bool hasText,
  15. required bool hasVideo,
  16. required String id,
  17. List<String> languages = const [],
  18. Message? message,
  19. ModerationPayload? moderationPayload,
  20. required String moderationPayloadHash,
  21. required String recommendedAction,
  22. required NullTime reviewedAt,
  23. required String reviewedBy,
  24. required int severity,
  25. required String status,
  26. required DateTime updatedAt,
})

Returns a new ReviewQueueItem instance.

Implementation

ReviewQueueItem({
  this.actions = const [],
  this.assignedTo,
  this.bans = const [],
  required this.completedAt,
  required this.contentChanged,
  required this.createdAt,
  this.entityCreator,
  required this.entityId,
  required this.entityType,
  this.feedsV2Activity,
  this.feedsV2Reaction,
  this.flags = const [],
  required this.hasImage,
  required this.hasText,
  required this.hasVideo,
  required this.id,
  this.languages = const [],
  this.message,
  this.moderationPayload,
  required this.moderationPayloadHash,
  required this.recommendedAction,
  required this.reviewedAt,
  required this.reviewedBy,
  required this.severity,
  required this.status,
  required this.updatedAt,
});