reportEndCallWithUUID method
Report that the call ended without the user initiating
The uuid
used for startCall or displayIncomingCall
reason
for the end call one of EndReason
Implementation
Future<void> reportEndCallWithUUID(String uuid, EndReason reason) async {
if (!Platform.isIOS) {
return;
}
await _channel.invokeMethod<void>('reportEndCall', {
'uuid': uuid,
'reason': endReasonToInt(reason),
});
}