remove method Null safety

void remove(
  1. {required String key}
)

Remove a new key-value pair from the store

Prefer removeAsync to avoid blocking the UI thread. Otherwise, this has slightly better performance.

Implementation

void remove({required String key}) => _db.writeTxnSync(
      () => _db.metadata.deleteSync(DatabaseTools.hash(key)),
    );