ChannelMember constructor

ChannelMember({
  1. DateTime? banExpires,
  2. required bool banned,
  3. required String channelRole,
  4. required DateTime createdAt,
  5. Map<String, Object> custom = const {},
  6. DateTime? deletedAt,
  7. DateTime? inviteAcceptedAt,
  8. DateTime? inviteRejectedAt,
  9. bool? invited,
  10. bool? isModerator,
  11. required bool notificationsMuted,
  12. required bool shadowBanned,
  13. String? status,
  14. required DateTime updatedAt,
  15. UserObject? user,
  16. String? userId,
})

Returns a new ChannelMember instance.

Implementation

ChannelMember({
  this.banExpires,
  required this.banned,
  required this.channelRole,
  required this.createdAt,
  this.custom = const {},
  this.deletedAt,
  this.inviteAcceptedAt,
  this.inviteRejectedAt,
  this.invited,
  this.isModerator,
  required this.notificationsMuted,
  required this.shadowBanned,
  this.status,
  required this.updatedAt,
  this.user,
  this.userId,
});