syntheticSource property

String? syntheticSource

The operation synthetic source to attach to telemetry items.

Implementation

String? get syntheticSource => _contextMap[_syntheticSourceKey] as String?;
void syntheticSource=(String? value)

Setting will change the operation synthetic source attached to telemetry items submitted with this context.

This is a convenience for setting the ai.operation.syntheticSource key on TelemetryContext.properties.

Implementation

set syntheticSource(String? value) =>
    _contextMap.setOrRemove(_syntheticSourceKey, value);