MessageZhipuAI.fromMap constructor
MessageZhipuAI.fromMap(
- Map<String, dynamic> map
)
Implementation
MessageZhipuAI.fromMap(Map<String, dynamic> map) {
mid = map['mid'];
content = map['content'];
imageUrl = map['imageUrl'];
voiceUrl = map['voiceUrl'];
videoUrl = map['videoUrl'];
fileUrl = map['fileUrl'];
nickname = map['nickname'];
avatar = map['avatar'];
type = map['type'];
topic = map['topic'];
status = map['status'];
timestamp = map['timestamp'];
isSend = map['isSend'];
client = map['client'];
currentUid = SpUtil.getString(BytedeskConstants.uid);
}