add account delection page
This commit is contained in:
@@ -202,6 +202,10 @@ class AuthFb {
|
||||
payload: {"preferred_currency": currency}, token: await getToken());
|
||||
}
|
||||
|
||||
Future<void> deleteAccount() async {
|
||||
return await requestAPI("/accounts", "DELETE", token: await getToken());
|
||||
}
|
||||
|
||||
Stream<Setting> settings() async* {
|
||||
Stream<DocumentSnapshot> snapshot = FirebaseFirestore.instance
|
||||
.collection(config_collection)
|
||||
|
||||
Reference in New Issue
Block a user