getSelfInfo static method

TUILoginUserInfo getSelfInfo()

Implementation

static TUILoginUserInfo getSelfInfo() {
  _ensurePortRegisterPort();
  var nativeLoginUserInfo = _engineSDK.Dart_GetSelfInfo();
  Map<String, dynamic> map =
      json.decode(Tools.pointerChar2String(nativeLoginUserInfo));
  calloc.free(nativeLoginUserInfo);
  return TUILoginUserInfo.fromJson(map);
}