Device.fromJson constructor
General constructor from JSON payload
Implementation
Device.fromJson(Map<String, dynamic> json)
: name = json['name'],
manufacturer = json['manufacturer'],
model = json['model'],
hardwareVersion = json['hardwareVersion'],
firmwareVersion = json['firmwareVersion'],
softwareVersion = json['softwareVersion'],
localIdentifier = json['localIdentifier'],
udiDeviceIdentifier = json['udiDeviceIdentifier'];