ChatData constructor

ChatData({
  1. required String toId,
  2. required String preview,
  3. required String userSession,
  4. required String senderAvatar,
  5. required String markdown,
  6. required String receiverAvatar,
  7. required String oId,
  8. required String time,
  9. required String fromId,
  10. required String senderUserName,
  11. required String content,
  12. required String receiverUserName,
})

Implementation

ChatData({
  required this.toId,
  required this.preview,
  required this.userSession,
  required this.senderAvatar,
  required this.markdown,
  required this.receiverAvatar,
  required this.oId,
  required this.time,
  required this.fromId,
  required this.senderUserName,
  required this.content,
  required this.receiverUserName,
});