PrDevice.fromDevice constructor

PrDevice.fromDevice(
  1. Device d
)

Implementation

factory PrDevice.fromDevice(Device d) {
  return PrDevice(
    deviceParameter: PrDeviceParameter.fromXML(d.deviceParameter.toXML()),
    deviceIndex: d.deviceIndex,
    deviceName: d.deviceName,
    deviceParameterType: d.deviceParameterType,
    supportedInterfaceModes: d.supportedInterfaceModes,
    devices: d.devices,
  );
}