endCallKit method

Future<void> endCallKit()

Implementation

Future<void> endCallKit() async {
  if (!WebRTC.platformIsIOS) return;

  final String uuidCaller = await _getCurrentUuid();

  if (uuidCaller.isEmpty) return;

  await FlutterCallkitIncoming.endCall(uuidCaller);
}