deleteDatabase method
Deletes a database.
securityOrigin
At least and at most one of securityOrigin, storageKey must be specified.
Security origin.
storageKey
Storage key.
databaseName
Database name.
Implementation
Future<void> deleteDatabase(String databaseName,
{String? securityOrigin, String? storageKey}) async {
await _client.send('IndexedDB.deleteDatabase', {
'databaseName': databaseName,
if (securityOrigin != null) 'securityOrigin': securityOrigin,
if (storageKey != null) 'storageKey': storageKey,
});
}