leaveSeat method

Future<void> leaveSeat()

Implementation

Future<void> leaveSeat() async {
  final result = await liveService.leaveSeat();
  if (result.code != TUIError.success) {
    LiveKitLogger.error("$tag leaveSeat [code:${result.code},message:${result.message}]");
    ErrorHandler.onError(result.code.value(), result.message);
    return;
  }
}