Message constructor

Message({
  1. String? messageId,
  2. required DateTime date,
  3. required String text,
  4. required SenderType sender,
  5. String? threadId,
})

Implementation

Message({
  this.messageId,
  required this.date,
  required this.text,
  required this.sender,
  this.threadId,
});