UserUpdatedEvent constructor

UserUpdatedEvent({
  1. required DateTime createdAt,
  2. DateTime? receivedAt,
  3. String type = 'user.updated',
  4. required UserEventPayload user,
})

Returns a new UserUpdatedEvent instance.

Implementation

UserUpdatedEvent({
  required this.createdAt,
  this.receivedAt,
  this.type = 'user.updated',
  required this.user,
});