where method
Keeps only the inputs for which condition holds.
Implementation
Pipeline where(
BooleanExpression condition, {
Map<String, Object?>? rawOptions,
}) {
return _append(
Stage(
'where',
args: <pb.Value Function(PipelineEncoder)>[condition.toProto],
rawOptions: rawOptions,
),
);
}