xcModifyAccountNickName method
修改用户昵称
Implementation
Future<bool> xcModifyAccountNickName({required String nickname}) async {
final result = await _api.xcModifyAccountNickName(nickname, ApiSeq.instance.getSeq());
XCloudResponse response = XCloudResponse.fromOriginResponse(result);
if (!response.success) {
return Future.error(XCloudAPIException(code: response.code,commandId: result.commandId));
}
return Future.value(response.success);
}