Device class

Equivalent of Device from HealthKitReporter https://cocoapods.org/pods/HealthKitReporter

Supports map representation.

Has a Device.fromJson constructor to create instances from JSON payload coming from iOS native code.

Constructors

Device(String? name, String? manufacturer, String? model, String? hardwareVersion, String? firmwareVersion, String? softwareVersion, String? localIdentifier, String? udiDeviceIdentifier)
const
Device.fromJson(Map<String, dynamic> json)
General constructor from JSON payload

Properties

firmwareVersion String?
final
hardwareVersion String?
final
hashCode int
The hash code for this object.
no setterinherited
localIdentifier String?
final
manufacturer String?
final
map Map<String, String?>
no setter
model String?
final
name String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
softwareVersion String?
final
udiDeviceIdentifier String?
final

Methods

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

Operators

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