Create a constant probe that always evaluates to value.
value
Probe probe(double value) => currentContext.probe(value);