BcDevice.fromDevice constructor
BcDevice.fromDevice(
- 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,
);
}