onIncomingCallCancelled method

  1. @override
void onIncomingCallCancelled(
  1. Call call
)
override

Implementation

@override
void onIncomingCallCancelled(Call call) {
  developer.log('CallEventService: onIncomingCallCancelled sessionId=${call.sessionId}');
  // Small delay to avoid race where cancel arrives before overlay is visible
  Future.delayed(const Duration(milliseconds: 300), () {
    IncomingCallOverlay.dismiss();
  });
  _clearActiveCall(call);
}