endCall static 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
static Future endCall(String id) async {
await _channel.invokeMethod("endCall", {'id': id});
}