ChatRoomItem constructor

ChatRoomItem({
  1. String? id,
  2. String? createdOn,
  3. String? name,
  4. String? topic,
  5. String? description,
  6. String? image,
  7. String? ownerId,
  8. int? roomType,
  9. int? typeOfGroup,
  10. int? participantCount,
  11. int? unreadCount,
  12. bool? hasUnreadMessage,
  13. bool? isFavorite,
  14. ParticipantInfoModel? participantInfo,
  15. List<String>? tags,
  16. LastMessageModel? lastMessage,
  17. bool? notifyStatus,
})

Implementation

ChatRoomItem({
  this.id,
  this.createdOn,
  this.name,
  this.topic,
  this.description,
  this.image,
  this.ownerId,
  this.roomType,
  this.typeOfGroup,
  this.participantCount,
  this.unreadCount,
  this.hasUnreadMessage,
  this.isFavorite,
  this.participantInfo,
  this.tags,
  this.lastMessage,
  this.notifyStatus,
});