Filter constructor
Filter({})
Implementation
factory Filter({
$core.Iterable<Condition>? should,
$core.Iterable<Condition>? must,
$core.Iterable<Condition>? mustNot,
MinShould? minShould,
}) {
final $result = create();
if (should != null) {
$result.should.addAll(should);
}
if (must != null) {
$result.must.addAll(must);
}
if (mustNot != null) {
$result.mustNot.addAll(mustNot);
}
if (minShould != null) {
$result.minShould = minShould;
}
return $result;
}