deleteAll<T> method

  1. @override
Future deleteAll<T>([
  1. Type? type
])
override

Deletes all entities of the specified type from this Box.

Implementation

@override
Future deleteAll<T>([Type? type]) => _autoRecover(() async {
      var collection = await _collectionFor<T>(type);
      await collection.drop();
    });