copyWith method
Implementation
ChatEventAccentColorChanged copyWith({
int? oldAccentColorId,
int? oldBackgroundCustomEmojiId,
int? newAccentColorId,
int? newBackgroundCustomEmojiId,
}) => ChatEventAccentColorChanged(
oldAccentColorId: oldAccentColorId ?? this.oldAccentColorId,
oldBackgroundCustomEmojiId:
oldBackgroundCustomEmojiId ?? this.oldBackgroundCustomEmojiId,
newAccentColorId: newAccentColorId ?? this.newAccentColorId,
newBackgroundCustomEmojiId:
newBackgroundCustomEmojiId ?? this.newBackgroundCustomEmojiId,
);