NiceChatConversation constructor

const NiceChatConversation({
  1. required String id,
  2. required String name,
  3. String? avatarUrl,
  4. String? lastMessage,
  5. DateTime? lastMessageTime,
  6. int unreadCount = 0,
  7. bool isOnline = false,
  8. bool isTyping = false,
  9. bool isGroupChat = false,
  10. List<String>? participants,
})

Implementation

const NiceChatConversation({
  required this.id,
  required this.name,
  this.avatarUrl,
  this.lastMessage,
  this.lastMessageTime,
  this.unreadCount = 0,
  this.isOnline = false,
  this.isTyping = false,
  this.isGroupChat = false,
  this.participants,
});