copyWith method

GetChatMessageCalendar copyWith({
  1. int? chatId,
  2. SearchMessagesFilter? filter,
  3. int? fromMessageId,
})

Implementation

GetChatMessageCalendar copyWith({
  int? chatId,
  SearchMessagesFilter? filter,
  int? fromMessageId,
}) => GetChatMessageCalendar(
  chatId: chatId ?? this.chatId,
  filter: filter ?? this.filter,
  fromMessageId: fromMessageId ?? this.fromMessageId,
);