name property

String? name

The operation name to attach to telemetry items.

Implementation

String? get name => _contextMap[_nameKey] as String?;
void name=(String? value)

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

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

Implementation

set name(String? value) => _contextMap.setOrRemove(_nameKey, value);