I want to delete user in my flutter app. I am a bit confused with the API call using secure storage. Can you help me out with the code?
Thanks.
you mean flutter secure storage
static final _storage = FlutterSecureStorage();
static Future deleteAuthAll() async => await _storage.deleteAll();// delete all
static Future deleteAuth(String key) async => await _storage.delete(key: key);//delete specific key
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.