deleteDatabase abstract method

Future<void> deleteDatabase(
  1. ExistingDatabase database
)

Deletes an ExistingDatabase from storage.

This method should not be called while a connection to the database is opened.

This method is only supported when using the drift worker shipped with the drift 2.11 release or later. This method will not work when using an older worker.

Implementation

Future<void> deleteDatabase(ExistingDatabase database);