voiceEndCall method

  1. @override
Future<void> voiceEndCall(
  1. String callId
)
override

End a native call (local hangup / remote-left) so the system UI clears.

Implementation

@override
Future<void> voiceEndCall(String callId) async {
  try {
    await methodChannel.invokeMethod('voiceEndCall', {'callId': callId});
  } catch (_) {}
}