ChannelMember constructor
ChannelMember({
- DateTime? banExpires,
- required bool banned,
- required String channelRole,
- required DateTime createdAt,
- Map<
String, Object> custom = const {}, - DateTime? deletedAt,
- DateTime? inviteAcceptedAt,
- DateTime? inviteRejectedAt,
- bool? invited,
- bool? isModerator,
- required bool notificationsMuted,
- required bool shadowBanned,
- String? status,
- required DateTime updatedAt,
- UserObject? user,
- 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,
});