endCall method

Future<void> endCall(
  1. String screen
)

Implementation

Future<void> endCall(String screen) async {
  // if (screen == 'participantScreen') {
  //   Get.back();
  // }

   if(isConfirmWhenLeavingMeeting) {
     print('object5');


     await showLeaveMeetingDialog(context,this);


   }else{
     await EnxRtc.disconnect();
   }

  //

  // dispose();
}