delete method
Deletes the user.
Implementation
Future<void> delete(
{String? password, bool deleteAuth = true, Yust? yust}) async {
await (yust?.dbService ?? Yust.databaseService)
.deleteDoc<YustUser>(YustUser.setup(), this);
if (deleteAuth) await Yust.authService.deleteAccount(password);
}