BeDevice.fromDevice constructor

BeDevice.fromDevice(
  1. Device d
)

Implementation

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