showCallNotification static method

Future<void> showCallNotification(
  1. CallEvent callEvent
)

Show incoming call notification

Implementation

static Future<void> showCallNotification(CallEvent callEvent) async {
  if (!Platform.isAndroid && !Platform.isIOS) return Future.value();

  return _methodChannel.invokeMethod(
      "showCallNotification", callEvent.toMap());
}