CometChatNotificationConfig constructor
CometChatNotificationConfig({
- required String appId,
- required String region,
- CometChatCallScreenBuilder? customCallScreenBuilder,
- CometChatCallAcceptedCallback? onCallAccepted,
- CometChatCallDeclinedCallback? onCallDeclined,
- NvpConfig? nvpConfig,
- CometChatCallActionHandler? callActionHandler,
- bool showInAppNotifications = false,
- bool showInAppVoIP = false,
Creates a CometChatNotificationConfig instance.
customCallScreenBuilder is optional — when omitted, the plugin
uses CometChatDefaultCallScreen to render incoming calls.
Implementation
CometChatNotificationConfig({
required this.appId,
required this.region,
this.customCallScreenBuilder,
this.onCallAccepted,
this.onCallDeclined,
this.nvpConfig,
this.callActionHandler,
this.showInAppNotifications = false,
this.showInAppVoIP = false,
});