type property

  1. @JsonKey(unknownEnumValue: DeviceType.Unknown)
DeviceType? type
getter/setter pair

DeviceType, such as DeviceType.Computer, DeviceType.Smartphone or DeviceType.Speaker.

Sets to DeviceType.Unknown if the type is not supported.

Implementation

@JsonKey(unknownEnumValue: DeviceType.Unknown)
DeviceType? type;