deleteUser method

Future<void> deleteUser(
  1. String uid
)
inherited

Deletes an existing user.

See https://firebase.google.com/docs/auth/admin/manage-users#delete_a_user for code samples and detailed documentation.

Returns an empty promise fulfilled once the user has been deleted.

Implementation

Future<void> deleteUser(String uid) async {
  await _authRequestHandler.deleteAccount(uid);
}