id property

String? id

The operation ID to attach to telemetry items.

Implementation

String? get id => _contextMap[_idKey] as String?;
void id=(String? value)

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

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

Implementation

set id(String? value) => _contextMap.setOrRemove(_idKey, value);