initiateAccountDeletionFlow function

Future<AuthAccountDeletionInitiated> initiateAccountDeletionFlow({
  1. required AuthStore store,
  2. required PasswordHasher passwordHasher,
  3. required String userId,
  4. required String password,
})

Initiates an account deletion flow.

Implementation

Future<AuthAccountDeletionInitiated> initiateAccountDeletionFlow({
  required AuthStore store,
  required PasswordHasher passwordHasher,
  required String userId,
  required String password,
}) async {
  return initiateAccountDeletion(
    store: store,
    passwordHasher: passwordHasher,
    userId: userId,
    password: password,
  );
}