NiceChatMessage constructor

const NiceChatMessage({
  1. required String id,
  2. required String text,
  3. required String senderId,
  4. String? senderName,
  5. String? senderAvatar,
  6. DateTime? timestamp,
  7. NiceMessageStatus? status,
  8. bool showAvatar = true,
  9. String? replyToId,
  10. Map<String, int>? reactions,
})

Implementation

const NiceChatMessage({
  required this.id,
  required this.text,
  required this.senderId,
  this.senderName,
  this.senderAvatar,
  this.timestamp,
  this.status,
  this.showAvatar = true,
  this.replyToId,
  this.reactions,
});