deleteValue method
- String key
Delete variable with the key key
Return true
after deleting the variable in Secure Storage
Implementation
Future<bool> deleteValue(String key) async {
final FlutterSecureStorage storage = FlutterSecureStorage();
await storage.delete(key: key);
return true;
}