getUserInfo method
Implementation
Future<TUIValueCallBack<TUIUserInfo>> getUserInfo(String userId) {
String userData = Tools.generateUserData();
Completer<TUIValueCallBack<TUIUserInfo>> completer = Completer();
_valueCallback2Future<TUIUserInfo>(userData, completer);
_engineSDK.Dart_GetUserInfo(_engineFFIPointer,
Tools.string2PointerChar(userId), Tools.string2PointerChar(userData));
return completer.future;
}