copyWith method

OpenChatSimilarChat copyWith({
  1. int? chatId,
  2. int? openedChatId,
})

Implementation

OpenChatSimilarChat copyWith({int? chatId, int? openedChatId}) =>
    OpenChatSimilarChat(
      chatId: chatId ?? this.chatId,
      openedChatId: openedChatId ?? this.openedChatId,
    );