deleteMyUser method
- UserPassword? password,
- ConfirmationCode? confirmation,
Deletes the authenticated MyUser completely.
This action cannot be reverted.
Implementation
Future<void> deleteMyUser({
UserPassword? password,
ConfirmationCode? confirmation,
}) async {
Log.debug(
'deleteMyUser(password: ***, confirmation: $confirmation)',
'$runtimeType',
);
await _myUserRepository.deleteMyUser(
password: password,
confirmation: confirmation,
);
_onUserDeleted();
}