copyWith method

  1. @override
ChatEventMemberRestricted copyWith({
  1. MessageSender? memberId,
  2. ChatMemberStatus? oldStatus,
  3. ChatMemberStatus? newStatus,
})
override

Implementation

@override
ChatEventMemberRestricted copyWith({
  MessageSender? memberId,
  ChatMemberStatus? oldStatus,
  ChatMemberStatus? newStatus,
}) => ChatEventMemberRestricted(
  memberId: memberId ?? this.memberId,
  oldStatus: oldStatus ?? this.oldStatus,
  newStatus: newStatus ?? this.newStatus,
);