Commit ce5a8991 authored by lxnhan's avatar lxnhan

update

parent 5b4a9c46
......@@ -21,7 +21,7 @@ class AppLocalStorage {
return await storage.read(key: key!);
}
static clearByKey(String key) async {
static clearDataByKey(String key) async {
var storage = const FlutterSecureStorage();
return await storage.delete(key: key);
}
......@@ -30,4 +30,5 @@ class AppLocalStorage {
var storage = const FlutterSecureStorage();
return await storage.deleteAll();
}
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment