ChatMessage constructor

ChatMessage({
  1. String text = '',
  2. ChatMedia? chatMedia,
  3. required bool isSender,
  4. DateTime? createdAt,
})

Implementation

ChatMessage({
  this.text = '',
  this.chatMedia,
  required this.isSender,
  this.createdAt,
});