ModerationFlaggedEvent constructor

ModerationFlaggedEvent({
  1. required DateTime createdAt,
  2. String? item,
  3. String? objectId,
  4. String type = 'moderation.flagged',
  5. UserObject? user,
})

Returns a new ModerationFlaggedEvent instance.

Implementation

ModerationFlaggedEvent({
  required this.createdAt,
  this.item,
  this.objectId,
  this.type = 'moderation.flagged',
  this.user,
});