Conversation constructor

Conversation({
  1. required String conversationId,
  2. required DateTime createdAt,
  3. required ConversationStatus status,
  4. String? name,
  5. String? ownerId,
  6. ConversationCategory? category,
  7. String? announcement,
  8. String? iconUrl,
  9. DateTime? pinedAt,
  10. String? lastMessageId,
  11. String? lastReadMessageId,
  12. int? unseenMessageCount,
  13. String? draft,
  14. String? muteUntil,
})

Implementation

Conversation({
  required this.conversationId,
  required this.createdAt,
  required this.status,
  this.name,
  this.ownerId,
  this.category,
  this.announcement,
  this.iconUrl,
  this.pinedAt,
  this.lastMessageId,
  this.lastReadMessageId,
  this.unseenMessageCount,
  this.draft,
  this.muteUntil,
});