changeUserNameCard method

Future<TUIActionCallback> changeUserNameCard(
  1. String userId,
  2. String nameCard
)

Implementation

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