ChatGroupMessageAck.fromJson constructor
- Map map
Implementation
factory ChatGroupMessageAck.fromJson(Map map) {
ChatGroupMessageAck ack = ChatGroupMessageAck._private(
ackId: map["ack_id"],
messageId: map["msg_id"] as String,
from: map["from"] as String,
content: map["content"],
readCount: map["count"] ?? 0,
timestamp: map["timestamp"] ?? 0,
);
return ack;
}