copyWith method

ChatEventProfileAccentColorChanged copyWith({
  1. int? oldProfileAccentColorId,
  2. int? oldProfileBackgroundCustomEmojiId,
  3. int? newProfileAccentColorId,
  4. int? newProfileBackgroundCustomEmojiId,
})

Implementation

ChatEventProfileAccentColorChanged copyWith({
  int? oldProfileAccentColorId,
  int? oldProfileBackgroundCustomEmojiId,
  int? newProfileAccentColorId,
  int? newProfileBackgroundCustomEmojiId,
}) =>
    ChatEventProfileAccentColorChanged(
      oldProfileAccentColorId:
          oldProfileAccentColorId ?? this.oldProfileAccentColorId,
      oldProfileBackgroundCustomEmojiId: oldProfileBackgroundCustomEmojiId ??
          this.oldProfileBackgroundCustomEmojiId,
      newProfileAccentColorId:
          newProfileAccentColorId ?? this.newProfileAccentColorId,
      newProfileBackgroundCustomEmojiId: newProfileBackgroundCustomEmojiId ??
          this.newProfileBackgroundCustomEmojiId,
    );