copyWith method

GetMessages copyWith({
  1. int? chatId,
  2. List<int>? messageIds,
})

Implementation

GetMessages copyWith({
  int? chatId,
  List<int>? messageIds,
}) => GetMessages(
  chatId: chatId ?? this.chatId,
  messageIds: messageIds ?? this.messageIds,
);