Conversation constructor

Conversation({
  1. String? conversationId,
  2. required String conversationType,
  3. required AppEntity conversationWith,
  4. BaseMessage? lastMessage,
  5. DateTime? updatedAt,
  6. int? unreadMessageCount = 0,
  7. List<String>? tags,
})

Implementation

Conversation({
  this.conversationId,
  required this.conversationType,
  required this.conversationWith,
  this.lastMessage,
  this.updatedAt,
  this.unreadMessageCount = 0,
  this.tags
});