setMaxSeatCount method

Future<TUIActionCallback> setMaxSeatCount(
  1. int maxSeatCount
)

Implementation

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