toProto method
Returns the wire representation of this expression.
Implementation
@override
pb.Value toProto(PipelineEncoder encoder) {
final model.FieldValue? modelValue = _modelValue;
return modelValue != null
? encoder.encodeModelValue(modelValue)
: encoder.encodeUserValue(value);
}