CometChatNotificationDetails constructor

const CometChatNotificationDetails({
  1. required String title,
  2. required String body,
  3. required String sender,
  4. required String senderName,
  5. String? senderAvatar,
  6. required String receiver,
  7. required String receiverName,
  8. String? receiverAvatar,
  9. required CometChatReceiverType receiverType,
  10. required String tag,
  11. required String conversationId,
  12. required CometChatPayloadType type,
  13. required String sentAt,
  14. Map<String, dynamic>? message,
  15. CometChatCallAction? callAction,
  16. String? sessionId,
  17. CometChatCallType? callType,
  18. Map<String, dynamic>? custom,
})

Creates a CometChatNotificationDetails instance.

Implementation

const CometChatNotificationDetails({
  required this.title,
  required this.body,
  required this.sender,
  required this.senderName,
  this.senderAvatar,
  required this.receiver,
  required this.receiverName,
  this.receiverAvatar,
  required this.receiverType,
  required this.tag,
  required this.conversationId,
  required this.type,
  required this.sentAt,
  this.message,
  this.callAction,
  this.sessionId,
  this.callType,
  this.custom,
});