OcDevice.fromDevice constructor
OcDevice.fromDevice(
- Device d
Implementation
factory OcDevice.fromDevice(Device d) {
return OcDevice(
deviceParameter: OcDeviceParameter.fromXML(d.deviceParameter.toXML()),
deviceIndex: d.deviceIndex,
deviceName: d.deviceName,
deviceParameterType: d.deviceParameterType,
supportedInterfaceModes: d.supportedInterfaceModes,
devices: d.devices,
);
}