copyWith method
Implementation
ViewMessages copyWith({
int? chatId,
int? messageThreadId,
List<int>? messageIds,
bool? forceRead,
}) => ViewMessages(
chatId: chatId ?? this.chatId,
messageThreadId: messageThreadId ?? this.messageThreadId,
messageIds: messageIds ?? this.messageIds,
forceRead: forceRead ?? this.forceRead,
);