EMCombineMessageBody.fromJson constructor

EMCombineMessageBody.fromJson({
  1. required Map map,
})

Implementation

factory EMCombineMessageBody.fromJson({required Map map}) {
  var body = EMCombineMessageBody(
    title: map["title"],
    summary: map["summary"],
    fileStatus: EMFileMessageBody.downloadStatusFromInt(map["fileStatus"]),
  );
  body._localPath = map["localPath"];
  body._remotePath = map["remotePath"];
  body._secret = map["secret"];

  return body;
}