fromJSON method

UsbDevice fromJSON (dynamic json)

Implementation

static UsbDevice fromJSON(dynamic json) {
  return UsbDevice(json["vid"], json["pid"], json["productName"],
      json["manufacturerName"], json["deviceId"], json["serialNumber"]);
}