ChannelMember constructor

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

Returns a new ChannelMember instance.

Implementation

ChannelMember({
  this.banExpires,
  required this.banned,
  required this.channelRole,
  required this.createdAt,
  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,
});