FirebaseChatDocument constructor

const FirebaseChatDocument({
  1. required bool personal,
  2. required bool canBeDeleted,
  3. List<String> users = const [],
  4. String? id,
  5. Timestamp? lastUsed,
  6. String? title,
  7. String? imageUrl,
  8. FirebaseMessageDocument? lastMessage,
})

Creates a new instance of FirebaseChatDocument.

Implementation

const FirebaseChatDocument({
  required this.personal,
  required this.canBeDeleted,
  this.users = const [],
  this.id,
  this.lastUsed,
  this.title,
  this.imageUrl,
  this.lastMessage,
});