V2TimMessageReceipt.fromJson constructor

V2TimMessageReceipt.fromJson(
  1. Map<String, dynamic> json
)

Implementation

V2TimMessageReceipt.fromJson(Map<String, dynamic> json) {
  userID = json['userID'] ?? "";
  timestamp = json['timestamp'];
  msgID = json['msgID'] ?? "";
  readCount = json['readCount'];
  unreadCount = json['unreadCount'];
  groupID = json['groupID'];
  isPeerRead = json["isPeerRead"];
}