moveToSeat method

Future<TUIActionCallback> moveToSeat(
  1. int targetSeatIndex
)

Implementation

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