MessageEntity constructor

MessageEntity({
  1. required String msgID,
  2. int? timestamp,
  3. String? sender,
  4. String? nickName,
  5. String? friendRemark,
  6. String? faceUrl,
  7. String? nameCard,
  8. String? groupID,
  9. String? userID,
  10. required MessageStatusEnum? status,
  11. MessageElemTypeEnum? elemType,
  12. String? localCustomData,
  13. int? localCustomInt,
  14. bool? self = true,
  15. bool? read = true,
  16. bool? peerRead = false,
  17. MessagePriorityEnum? priority,
  18. OfflinePushInfoEntity? offlinePushInfo,
  19. List<String>? groupAtUserList,
  20. int? seq,
  21. String? note,
  22. MessageNode? node,
  23. int? random,
})

Implementation

MessageEntity({
  required this.msgID,
  this.timestamp,
  this.sender,
  this.nickName,
  this.friendRemark,
  this.faceUrl,
  this.nameCard,
  this.groupID,
  this.userID,
  required this.status,
  this.elemType,
  this.localCustomData,
  this.localCustomInt,
  this.self: true,
  this.read: true,
  this.peerRead: false,
  this.priority,
  this.offlinePushInfo,
  this.groupAtUserList,
  this.seq,
  this.note,
  this.node,
  this.random,
});