CometChatNotificationDetails constructor
const
CometChatNotificationDetails({
- required String title,
- required String body,
- required String sender,
- required String senderName,
- String? senderAvatar,
- required String receiver,
- required String receiverName,
- String? receiverAvatar,
- required CometChatReceiverType receiverType,
- required String tag,
- required String conversationId,
- required CometChatPayloadType type,
- required String sentAt,
- Map<
String, dynamic> ? message, - CometChatCallAction? callAction,
- String? sessionId,
- CometChatCallType? callType,
- 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,
});