V2TimMessageDownloadProgress.fromJson constructor

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

Implementation

V2TimMessageDownloadProgress.fromJson(Map<String, dynamic> json) {
  isFinish = json["isFinish"];
  isError = json["isError"];
  msgID = json["msgID"];
  currentSize = json["currentSize"];
  totalSize = json["totalSize"];
  type = json["type"];
  isSnapshot = json["isSnapshot"];
  path = json["path"];
  errorCode = json["errorCode"];
  errorDesc = json["errorDesc"];
}