setSelfInfo method

  1. @override
Future<V2TimCallback> setSelfInfo({
  1. required V2TimUserFullInfo userFullInfo,
})
override

修改个人资料

Implementation

@override
Future<V2TimCallback> setSelfInfo({
  required V2TimUserFullInfo userFullInfo,
}) async {
  return await _v2timManager.setSelfInfo(
    {
      "nickName": userFullInfo.nickName,
      "faceUrl": userFullInfo.faceUrl,
      "birthday": userFullInfo.birthday,
      "selfSignature": userFullInfo.selfSignature,
      "gender": userFullInfo.gender,
      "allowType": userFullInfo.allowType,
      "customInfo": userFullInfo.customInfo
    },
  );
}