HKDevice constructor

HKDevice({
  1. String? name,
  2. String? manufacturer,
  3. String? model,
  4. String? hardwareVersion,
  5. String? softwareVersion,
})

Creates a new device representation with the specified parameters.

All parameters are optional and can be null if the information is not available.

Implementation

HKDevice({
  this.name,
  this.manufacturer,
  this.model,
  this.hardwareVersion,
  this.softwareVersion,
});