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]) async =>
    (await entitiesFor(type ?? T)).clear();