accountId property

String? accountId

The user account ID to attach to telemetry items.

Implementation

String? get accountId => _contextMap[_accountIdKey] as String?;
void accountId=(String? value)

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

This is a convenience for setting the ai.user.accountId key on TelemetryContext.properties.

Implementation

set accountId(String? value) => _contextMap.setOrRemove(_accountIdKey, value);