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