voiceMissedCall method
The caller cancelled before we answered — clear the ring and leave a "Missed call" notification, like a native phone call.
Implementation
@override
Future<void> voiceMissedCall({
required String callId,
required String from,
String? displayName,
String? avatarUrl,
}) async {
try {
await methodChannel.invokeMethod('voiceMissedCall', {
'callId': callId,
'from': from,
'displayName': displayName,
'avatarUrl': avatarUrl,
});
} catch (_) {}
}