UserDeactivatedEvent constructor

UserDeactivatedEvent({
  1. required DateTime createdAt,
  2. required UserObject createdBy,
  3. String type = 'user.deactivated',
  4. UserObject? user,
})

Returns a new UserDeactivatedEvent instance.

Implementation

UserDeactivatedEvent({
  required this.createdAt,
  required this.createdBy,
  this.type = 'user.deactivated',
  this.user,
});