updateUserInfo method

Future<void> updateUserInfo({
  1. String? nickname,
  2. String? avatarUrl,
  3. String? mail,
  4. String? phone,
  5. int? gender,
  6. String? sign,
  7. String? birth,
  8. String? ext,
})

Implementation

Future<void> updateUserInfo({
  String? nickname,
  String? avatarUrl,
  String? mail,
  String? phone,
  int? gender,
  String? sign,
  String? birth,
  String? ext,
}) async {
  return checkResult(ChatSDKEvent.updateUserInfo, () {
    return Client.getInstance.userInfoManager.updateUserInfo(
      nickname: nickname,
      avatarUrl: avatarUrl,
      mail: mail,
      phone: phone,
      gender: gender,
      sign: sign,
      birth: birth,
      ext: ext,
    );
  });
}