xcAccountCancellationWithoutCode method
账号注销-不需要验证码-直接注销
Implementation
Future<bool> xcAccountCancellationWithoutCode() async {
final result = await _api.accountCancellation('', ApiSeq.instance.getSeq());
XCloudResponse response = XCloudResponse.fromOriginResponse(result);
if (!response.success) {
return Future.error(XCloudAPIException(code: response.code,commandId: result.commandId));
}
return Future.value(true);
}