exitRoomAction method
void
exitRoomAction()
Implementation
void exitRoomAction() {
if (isRoomOwner()) {
if (RoomStore.to.userInfoList.length > 1) {
Get.bottomSheet(const TransferHostWidget(), isScrollControlled: true);
} else {
destroyRoomAction();
}
return;
}
_engineManager.exitRoom();
Get.back();
}