endCall static method

Future endCall(
  1. String id
)

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