BcDevice.fromDevice constructor

BcDevice.fromDevice(
  1. Device d
)

Implementation

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