MessageReceipt constructor

MessageReceipt({
  1. required int messageId,
  2. required User sender,
  3. required String receiverType,
  4. required String receiverId,
  5. required DateTime timestamp,
  6. required String receiptType,
  7. required DateTime? deliveredAt,
  8. required DateTime? readAt,
})

Implementation

MessageReceipt({required this.messageId,
    required this.sender,
    required this.receiverType,
    required this.receiverId,
    required this.timestamp,
    required this.receiptType,
    required this.deliveredAt,
    required this.readAt
});