onCallDeclined property

CometChatCallAcceptedCallback? onCallDeclined
final

Called when the user declines an incoming call from the default call screen.

Use this to clean up any call-related state. The plugin will automatically dismiss the call notification.

Not invoked when customCallScreenBuilder is provided.

Implementation

final CometChatCallDeclinedCallback? onCallDeclined;