DeviceSummary.fromJson constructor

DeviceSummary.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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