fromThread static method
Implementation
static ThreadZhipuAI fromThread(Thread thread) {
return ThreadZhipuAI(
tid: thread.tid,
topic: thread.topic,
wid: thread.wid,
uid: thread.uid,
nickname: thread.nickname,
avatar: thread.avatar,
content: thread.content,
timestamp: thread.timestamp,
unreadCount: thread.unreadCount,
type: thread.type,
current: thread.current,
top: thread.top,
topVisitor: thread.topVisitor,
nodisturb: thread.nodisturb,
nodisturbVisitor: thread.nodisturbVisitor,
unread: thread.unread,
unreadVisitor: thread.unreadVisitor,
client: thread.client,
currentUid: thread.currentUid
);
}