logout button

This commit is contained in:
marcoabat
2023-08-05 15:44:10 +02:00
parent 1eb1caa167
commit 4d8f66bbde
2 changed files with 10 additions and 0 deletions

View File

@@ -23,6 +23,10 @@ class DbHelper {
);
}
static Future<void> logout() async {
await _client.auth.signOut();
}
static Future<List<Checklist>> get fetchChecklist async {
//TODO replace example data
await Future.delayed(const Duration(seconds: 2));