copyWith method

UpdateTopicMessageCount copyWith({
  1. int? chatId,
  2. MessageTopic? topicId,
  3. int? messageCount,
})

Implementation

UpdateTopicMessageCount copyWith({
  int? chatId,
  MessageTopic? topicId,
  int? messageCount,
}) =>
    UpdateTopicMessageCount(
      chatId: chatId ?? this.chatId,
      topicId: topicId ?? this.topicId,
      messageCount: messageCount ?? this.messageCount,
    );