EMMessage constructor

EMMessage({bool acked, EMMessageBody body, ChatType chatType, bool delivered, Direction direction, String from, bool listened, String localTime, String msgId, String msgTime, Status status, String to, EMMessageType type, bool unread, bool deliverAcked })

Implementation

EMMessage({
  this.acked,
  this.body,
  this.chatType ,
  this.delivered,
  this.direction,
  this.from,
  this.listened ,
  this.localTime,
  this.msgId ,
  this.msgTime,
  this.status ,
  this.to,
  this.type,
  this.unread,
  this.deliverAcked,
})
    : _attributes = {},
      _conversationId = '',
      _userName = '';