destroyRoom method

Future<TUIActionCallback> destroyRoom()

Implementation

Future<TUIActionCallback> destroyRoom() {
  String userData = Tools.generateUserData();
  Completer<TUIActionCallback> completer = Completer();
  _actionCallback2Future(userData, completer);
  _engineSDK.Dart_DestroyRoom(
      _engineFFIPointer, Tools.string2PointerChar(userData));
  return completer.future;
}