V2TimMessageReceipt.fromJson constructor

V2TimMessageReceipt.fromJson(
  1. Map json
)

Implementation

V2TimMessageReceipt.fromJson(Map json) {
  json = Utils.formatJson(json);
  userID = json['userID'] ?? "";
  timestamp = json['timestamp'];
  msgID = json['msgID'] ?? "";
  readCount = json['readCount'];
  unreadCount = json['unreadCount'];
  groupID = json['groupID'];
  isPeerRead = json["isPeerRead"];
}