DdDevice.fromDevice constructor

DdDevice.fromDevice(
  1. Device d
)

Implementation

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