find method
Finds Objects matching the query.
Implementation
List<T> find() {
final result = <T>[];
final errorWrapper = ObjectVisitorError();
visitCallback(Pointer<Uint8> data, int size) {
try {
result.add(_entity.objectFromData(_store, data, size));
return true;
} catch (e) {
errorWrapper.error = e;
return false;
}
}
visit(_ptr, visitCallback);
errorWrapper.throwIfError();
return result;
}