fetchOwnInfo method

Future<UserInfo?> fetchOwnInfo({
  1. int expireTime = 0,
})

Implementation

Future<UserInfo?> fetchOwnInfo({int expireTime = 0}) async {
  return checkResult(ChatSDKEvent.fetchOwnInfo, () {
    return Client.getInstance.userInfoManager
        .fetchOwnInfo(expireTime: expireTime);
  });
}