cancelCallNotification method

  1. @override
Future<bool> cancelCallNotification(
  1. String callId
)
override

Cancels an incoming call notification by call ID.

Implementation

@override
Future<bool> cancelCallNotification(String callId) async {
  final result = await methodChannel.invokeMethod<bool>(
    'cancelCallNotification',
    {'callId': callId},
  );
  return result ?? false;
}