list method
Allows filtering on a nested nullable Iterable field using ListQueryParams.
Implementation
Filter<TEntity> list(ListQueryParams<TElement> query) {
if (query.filter == null) return AlwaysMatch<TEntity>();
return filter(query.filter!);
}