deleteAccount method
Deletes the signed-in user's account.
Implementation
@override
Future<void> deleteAccount() => _run(() async {
final user = auth.currentUser;
if (user != null && _isGuest) {
await _setGuest(null);
await user.delete();
} else {
await _signedIn().delete();
}
if (anonymousWhenSignedOut) await auth.signInAnonymously();
});