copyWith method

ChatEventLinkedChatChanged copyWith({
  1. int? oldLinkedChatId,
  2. int? newLinkedChatId,
})

Implementation

ChatEventLinkedChatChanged copyWith({
  int? oldLinkedChatId,
  int? newLinkedChatId,
}) =>
    ChatEventLinkedChatChanged(
      oldLinkedChatId: oldLinkedChatId ?? this.oldLinkedChatId,
      newLinkedChatId: newLinkedChatId ?? this.newLinkedChatId,
    );