YIMMessage constructor

YIMMessage({
  1. _YIMTable_Message? mWEnrkpgWgfnODZg,
})

Implementation

YIMMessage({
  _YIMTable_Message? mWEnrkpgWgfnODZg,
}) {
  if (mWEnrkpgWgfnODZg == null) return;
  this.id = mWEnrkpgWgfnODZg.id;
  this.content = mWEnrkpgWgfnODZg.content;
  this.from = mWEnrkpgWgfnODZg.from;
  this.fromInfo = mWEnrkpgWgfnODZg.fromInfo;
  this.to = mWEnrkpgWgfnODZg.to;
  this.toInfo = mWEnrkpgWgfnODZg.toInfo;
  this.conversationType = mWEnrkpgWgfnODZg.conversationType;
  this.messageType = mWEnrkpgWgfnODZg.messageType;
  this.messageState = mWEnrkpgWgfnODZg.messageState;
  this.time = mWEnrkpgWgfnODZg.time;
  this.localExt = mWEnrkpgWgfnODZg.localExt;
  this.isRevoke = mWEnrkpgWgfnODZg.isRevoke;
  this.attachment = mWEnrkpgWgfnODZg.attachment;
}