HKDevice class

Represents a device that provides health data to HealthKit.

Contains identifying information about hardware and software that collected or generated health measurements.

Constructors

HKDevice({String? name, String? manufacturer, String? model, String? hardwareVersion, String? softwareVersion})
Creates a new device representation with the specified parameters.

Properties

hardwareVersion String?
Optional hardware version of the device.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
manufacturer String?
Optional name of the device manufacturer.
getter/setter pair
model String?
Optional model identifier or name of the device.
getter/setter pair
name String?
Optional name of the device.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
softwareVersion String?
Optional software or firmware version running on the device.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited