UserDeletedEvent constructor

UserDeletedEvent({
  1. required DateTime createdAt,
  2. required bool deleteConversationChannels,
  3. required bool hardDelete,
  4. required bool markMessagesDeleted,
  5. String type = 'user.deleted',
  6. UserObject? user,
})

Returns a new UserDeletedEvent instance.

Implementation

UserDeletedEvent({
  required this.createdAt,
  required this.deleteConversationChannels,
  required this.hardDelete,
  required this.markMessagesDeleted,
  this.type = 'user.deleted',
  this.user,
});