city property

String? city

The location city to attach to telemetry items.

Implementation

String? get city => _contextMap[_cityKey] as String?;
void city=(String? value)

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

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

Implementation

set city(String? value) => _contextMap.setOrRemove(_cityKey, value);