deleteValue method

Future<bool> deleteValue(
  1. 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;
}