resetAsync method
Remove all the key-value pairs from the store asynchronously
Implementation
Future<void> resetAsync() => _db.writeTxn(
() async => Future.wait(
(await _db.metadata.where().findAll())
.map((m) => _db.metadata.delete(m.id)),
),
);