showCallNotification method
Shows a full-screen incoming call notification.
Implementation
@override
Future<bool> showCallNotification({
required String callId,
required String callerName,
required bool isVideo,
String? callerAvatar,
}) async {
final result = await methodChannel
.invokeMethod<bool>('showCallNotification', {
'callId': callId,
'callerName': callerName,
'isVideo': isVideo,
'callerAvatar': callerAvatar,
});
return result ?? false;
}