remove method

  1. @override
Uint8List? remove(
  1. Uint8List key
)
override

Remove a value from the database using key. If the key had an associated value, return the value or else return null

remove(utf8.encode('foo');

Implementation

@override
Uint8List? remove(final Uint8List key) {
  _guardReadonly();
  final old = get(key);
  if (old == null) return null;
  final transaction = begin();
  transaction.remove(key);
  transaction.commit();
  return old;
}