deleteAccount method
Implementation
Future<void> deleteAccount(String userId) async {
try {
await _userDataService.deleteAccount(userId);
} catch (e) {
if (e is UserDataServiceException) {
throw UserServiceException(
code: e.code, message: e.message, stackTrace: e.stackTrace);
}
throw UserServiceException();
}
}