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