copyWith method
ChatMember
copyWith({
- MessageSender? memberId,
- int? inviterUserId,
- int? joinedChatDate,
- ChatMemberStatus? status,
- dynamic extra,
- int? clientId,
Implementation
ChatMember copyWith({
MessageSender? memberId,
int? inviterUserId,
int? joinedChatDate,
ChatMemberStatus? status,
dynamic extra,
int? clientId,
}) => ChatMember(
memberId: memberId ?? this.memberId,
inviterUserId: inviterUserId ?? this.inviterUserId,
joinedChatDate: joinedChatDate ?? this.joinedChatDate,
status: status ?? this.status,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);