deleteWhere method

  1. @override
Future<void> deleteWhere(
  1. Where where
)
override

Deletes all the entries that are compliant to the where clause.

Implementation

@override
Future<void> deleteWhere(Where where) async {
  List<Model> data = _filter(_getAll(), where);
  for (final d in data) {
    _box.delete(d.id);
  }
}