copyWith method

ChatEventAccentColorChanged copyWith({
  1. int? oldAccentColorId,
  2. int? oldBackgroundCustomEmojiId,
  3. int? newAccentColorId,
  4. int? newBackgroundCustomEmojiId,
})

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,
);