DeviceSummary.fromJson constructor
Implementation
factory DeviceSummary.fromJson(Map<String, dynamic> json) {
return DeviceSummary(
deviceId: json['DeviceId'] as String?,
deviceStatus: (json['DeviceStatus'] as String?)?.toDeviceStatus(),
);
}