YIMMessage constructor

YIMMessage({
  1. _YIMTable_Message? message,
})

Implementation

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