copyWith method

GetChatMessagePosition copyWith({
  1. int? chatId,
  2. int? messageId,
  3. SearchMessagesFilter? filter,
  4. int? messageThreadId,
})

Implementation

GetChatMessagePosition copyWith({
  int? chatId,
  int? messageId,
  SearchMessagesFilter? filter,
  int? messageThreadId,
}) =>
    GetChatMessagePosition(
      chatId: chatId ?? this.chatId,
      messageId: messageId ?? this.messageId,
      filter: filter ?? this.filter,
      messageThreadId: messageThreadId ?? this.messageThreadId,
    );