copyWith method

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

Implementation

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