delete method

Future<void> delete(
  1. String key
)

Delete a single entry for the specified key in the current SecurityClient instance database.

final SecurityClient securityClient = ...;
await securityClient.delete("secure_key");

Implementation

Future<void> delete(final String key) async {
  final database = _database;
  await database.delete(
    _keysTable,
    where: "$_keysTableKeyColumn = ?",
    whereArgs: [key],
  );
}