queryAll method
Query All Box<List<T>>
Implementation
Future<List<T>> queryAll(bool Function(T value) test, {int? parentId}) async {
final list = <T>[];
for (var item in await getAll(parentId: parentId)) {
if (test(item)) {
list.add(item);
}
}
return list;
}