endCall method
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});
}