country property

String? country

The location country to attach to telemetry items.

Implementation

String? get country => _contextMap[_countryKey] as String?;
void country=(String? value)

Setting will change the location country attached to telemetry items submitted with this context.

This is a convenience for setting the ai.location.country key on TelemetryContext.properties.

Implementation

set country(String? value) => _contextMap.setOrRemove(_countryKey, value);