Message.fromMap constructor
Implementation
Message.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);
}