locale property
String?
locale
The device locale to attach to telemetry items.
Implementation
String? get locale => _contextMap[_localeKey] as String?;
Setting will change the device locale attached to telemetry items submitted with this context.
This is a convenience for setting the ai.device.locale
key on TelemetryContext.properties.
Implementation
set locale(String? value) => _contextMap.setOrRemove(_localeKey, value);