deleteDatabase abstract method

Future<IdbFactory> deleteDatabase(
  1. String name, {
  2. OnBlockedFunction? onBlocked,
})

performs the deletion operation asynchronously.

Will trigger an upgradedneeded event and, if any other tabs have open connections to the database, a blocked event.

Implementation

Future<IdbFactory> deleteDatabase(String name,
    {OnBlockedFunction? onBlocked});