copyWith method

GetChatMessageCount copyWith({
  1. int? chatId,
  2. MessageTopic? topicId,
  3. SearchMessagesFilter? filter,
  4. bool? returnLocal,
})

Implementation

GetChatMessageCount copyWith({
  int? chatId,
  MessageTopic? topicId,
  SearchMessagesFilter? filter,
  bool? returnLocal,
}) => GetChatMessageCount(
  chatId: chatId ?? this.chatId,
  topicId: topicId ?? this.topicId,
  filter: filter ?? this.filter,
  returnLocal: returnLocal ?? this.returnLocal,
);