getQuery method
- bool test(
- T value
Implementation
@override
Future<List<T>> getQuery(bool Function(T value) test) async {
final list = <T>[];
for (var item in await getAll()) {
if (test(item)) {
list.add(item);
}
}
return list;
}