deleteObjectStoreEntries method
Delete a range of entries from an object store
securityOrigin
At least and at most one of securityOrigin, storageKey must be specified.
Security origin.
storageKey
Storage key.
keyRange
Range of entry keys to delete
Implementation
Future<void> deleteObjectStoreEntries(
String databaseName, String objectStoreName, KeyRange keyRange,
{String? securityOrigin, String? storageKey}) async {
await _client.send('IndexedDB.deleteObjectStoreEntries', {
'databaseName': databaseName,
'objectStoreName': objectStoreName,
'keyRange': keyRange,
if (securityOrigin != null) 'securityOrigin': securityOrigin,
if (storageKey != null) 'storageKey': storageKey,
});
}