BgDevice.fromDevice constructor

BgDevice.fromDevice(
  1. 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,
  );
}