ApiListMessageResponse constructor

ApiListMessageResponse({
  1. String id = '',
  2. String messageContentRaw = '',
  3. String message = '',
  4. String timeSend = '',
  5. String senderId = '',
  6. String roomId = '',
  7. String receiperId = '',
  8. String lastPinedTime = '',
  9. String lastEditTime = '',
  10. int type = 0,
  11. int revokeEnum = 0,
  12. int countValue = 0,
  13. bool isDeleted = false,
  14. bool isEdited = false,
  15. bool isSave = false,
  16. bool isPined = false,
  17. List<ReactionsModel> reactions = const [],
  18. List<String> mentionsIds = const [],
  19. List<AttachmentsModel> attachments = const [],
})

Implementation

ApiListMessageResponse({
  this.id = '',
  this.messageContentRaw = '',
  this.message = '',
  this.timeSend = '',
  this.senderId = '',
  this.roomId = '',
  this.receiperId = '',
  this.lastPinedTime = '',
  this.lastEditTime = '',
  this.type = 0,
  this.revokeEnum = 0,
  this.countValue = 0,
  this.isDeleted = false,
  this.isEdited = false,
  this.isSave = false,
  this.isPined = false,
  this.reactions = const [],
  this.mentionsIds = const [],
  this.attachments = const [],
});