V2TIMJSMessage.fromJSON constructor
V2TIMJSMessage.fromJSON(
- Map<String, dynamic> json
)
Implementation
V2TIMJSMessage.fromJSON(Map<String, dynamic> json) {
ID = json["ID"];
type = json["type"];
payload = jsToMap(json["payload"]);
conversationID = json["conversationID"];
conversationType = json["conversationType"];
to = json["to"];
from = json["from"];
flow = json["flow"];
status = json["status"];
priority = json["priority"];
nick = json["nick"];
avatar = json["avatar"];
nameCard = json["nameCard"];
time = json["time"];
isRevoked = json["isRevoked"];
isPeerRead = json["isPeerRead"];
isDeleted = json["isDeleted"];
isModified = json["isModified"];
atUserList = json["atUserList"];
cloudCustomData = json["cloudCustomData"];
isRead = json["isRead"];
sequence = json["sequence"];
random = json["random"];
}