FirebaseMessageDocument constructor

const FirebaseMessageDocument({
  1. required String sender,
  2. required Timestamp timestamp,
  3. String? id,
  4. String? text,
  5. String? imageUrl,
})

Creates a new instance of FirebaseMessageDocument.

Implementation

const FirebaseMessageDocument({
  required this.sender,
  required this.timestamp,
  this.id,
  this.text,
  this.imageUrl,
});