setCustomInfoForUser method
Implementation
Future<TUIActionCallback> setCustomInfoForUser(
String userId, Map<String, String> customInfo) {
String userData = Tools.generateUserData();
Completer<TUIActionCallback> completer = Completer();
_actionCallback2Future(userData, completer);
_engineSDK.Dart_SetCustomInfoForUser(
_engineFFIPointer,
Tools.string2PointerChar(userId),
Tools.string2PointerChar(json.encode(customInfo)),
Tools.string2PointerChar(userData));
return completer.future;
}