disconnectCall method

void disconnectCall()

Implementation

void disconnectCall() {
  isCallTimerEnabled = false;
  callTimer("Disconnected");
  if (callList.isNotEmpty) {
    callList.clear();
  }
  Mirrorfly.disconnectCall(flyCallBack: (FlyResponse response) {
    debugPrint("#Disconnect call disconnect value ${response.isSuccess}");
    if (response.isSuccess) {
      debugPrint("#Disconnect call disconnect list size ${callList.length}");
      backCalledFromDisconnect();
    }
  });
}