copyWith method
ChatEventMemberPromoted
copyWith({
- int? userId,
- ChatMemberStatus? oldStatus,
- ChatMemberStatus? newStatus,
override
Implementation
@override
ChatEventMemberPromoted copyWith({
int? userId,
ChatMemberStatus? oldStatus,
ChatMemberStatus? newStatus,
}) => ChatEventMemberPromoted(
userId: userId ?? this.userId,
oldStatus: oldStatus ?? this.oldStatus,
newStatus: newStatus ?? this.newStatus,
);