endCall method

  1. @override
Future<void> endCall(
  1. String id
)
override

End an Incoming/Outgoing call. On iOS, using Callkit(update a history into the Phone app). On Android, Nothing(only callback event listener).

Implementation

@override
Future<void> endCall(String id) async {
  await methodChannel.invokeMethod('endCall', {'id': id});
}