delete abstract method

Future<void> delete(
  1. dynamic key, {
  2. bool notify = true,
})

Beta: Performs the following write-only operations in memory and later flushes

This can be used to improve speed on many small write operations Deletes the given key from the box.

If it does not exist, nothing happens.

Implementation

// Future<void> transaction(Future<void> Function() operation);

/// Deletes the given [key] from the box.
///
/// If it does not exist, nothing happens.
Future<void> delete(
  dynamic key, {
  bool notify = true,
});