copyWith method
Implementation
ChatEvent copyWith({
int? id,
int? date,
MessageSender? memberId,
ChatEventAction? action,
}) => ChatEvent(
id: id ?? this.id,
date: date ?? this.date,
memberId: memberId ?? this.memberId,
action: action ?? this.action,
);