UserUnbannedEvent constructor

UserUnbannedEvent({
  1. Map<String, Object> channelCustom = const {},
  2. String? channelId,
  3. int? channelMemberCount,
  4. int? channelMessageCount,
  5. String? channelType,
  6. String? cid,
  7. required DateTime createdAt,
  8. UserResponseCommonFields? createdBy,
  9. Map<String, Object> custom = const {},
  10. DateTime? receivedAt,
  11. bool? shadow,
  12. String? team,
  13. String type = 'user.unbanned',
  14. required UserResponseCommonFields user,
})

Returns a new UserUnbannedEvent instance.

Implementation

UserUnbannedEvent({
  this.channelCustom = const {},
  this.channelId,
  this.channelMemberCount,
  this.channelMessageCount,
  this.channelType,
  this.cid,
  required this.createdAt,
  this.createdBy,
  this.custom = const {},
  this.receivedAt,
  this.shadow,
  this.team,
  this.type = 'user.unbanned',
  required this.user,
});