delete method
Deletes the whole database. The database needs to be created again after this.
Implementation
@override
Future<void> delete() async {
// database?.path is null on web
await _collection.deleteDatabase(
database?.path ?? name,
sqfliteFactory ?? idbFactory,
);
}