exit method

Future<TUIActionCallback> exit()

Implementation

Future<TUIActionCallback> exit() {
  LiveKitLogger.info("$tag exit[roomId:${roomState.roomId},liveService:${liveService.hashCode}]");
  viewState.liveStatus.value = LiveStatus.dashboard;
  if (_isOwner()) {
    return _stop();
  } else {
    return _leave();
  }
}