feat: user login/logout with UserModel

Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
Kingtous
2022-07-27 14:29:47 +08:00
parent 98a01aefa6
commit 06cb05f796
7 changed files with 424 additions and 144 deletions

View File

@@ -140,4 +140,10 @@ class AbModel with ChangeNotifier {
return it.first['tags'] ?? [];
}
}
void clear() {
peers.clear();
tags.clear();
notifyListeners();
}
}