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(dynamic params) async {
await _channel.invokeMethod("endCall", params);
}