RoomKeys constructor

const RoomKeys({
  1. String id = 'id',
  2. String friendId = 'friendId',
  3. String participants = 'participants',
  4. String leaves = 'leaves',
  5. String createdAt = 'createdAt',
  6. String createdBy = 'createdBy',
  7. String name = 'name',
  8. String photo = 'photo',
  9. String isBot = 'isBot',
  10. String isGroup = 'isGroup',
  11. String isDeleted = 'isDeleted',
  12. String isVerified = 'isVerified',
  13. String lastMessage = 'lastMessage',
  14. String lastMessageId = 'lastMessageId',
  15. String lastMessageSenderId = 'lastMessageSenderId',
  16. String lastMessageDeleted = 'lastMessageDeleted',
  17. String lastMessageStatuses = 'lastMessageStatuses',
  18. String unseenCount = 'unseenCount',
  19. String updatedAt = 'updatedAt',
  20. String mutes = 'mutes',
  21. String archives = 'archives',
  22. String blocks = 'blocks',
  23. String pins = 'pins',
  24. String removes = 'removes',
  25. String restricts = 'restricts',
  26. String extra = 'extra',
})

Implementation

const RoomKeys({
  this.id = 'id',
  this.friendId = 'friendId',
  this.participants = 'participants',
  this.leaves = 'leaves',
  this.createdAt = 'createdAt',
  this.createdBy = 'createdBy',
  this.name = 'name',
  this.photo = 'photo',
  this.isBot = 'isBot',
  this.isGroup = 'isGroup',
  this.isDeleted = 'isDeleted',
  this.isVerified = 'isVerified',
  this.lastMessage = 'lastMessage',
  this.lastMessageId = 'lastMessageId',
  this.lastMessageSenderId = 'lastMessageSenderId',
  this.lastMessageDeleted = 'lastMessageDeleted',
  this.lastMessageStatuses = 'lastMessageStatuses',
  this.unseenCount = 'unseenCount',
  this.updatedAt = 'updatedAt',
  this.mutes = 'mutes',
  this.archives = 'archives',
  this.blocks = 'blocks',
  this.pins = 'pins',
  this.removes = 'removes',
  this.restricts = 'restricts',
  this.extra = 'extra',
});