deleteAccountByUser static method
Implementation
static Future<void> deleteAccountByUser(String userId) async {
await initialize();
Map<String, dynamic> userData = {};
await HycopFactory.account!.getAccountInfo(userId, userData);
await HycopFactory.account!.deleteAccountByUser(userData).catchError((error, stackTrace) =>
throw HycopUtils.getHycopException(
error: error, defaultMessage: 'AccountManager.deleteAccountByUser Failed !!!'));
}