registerAllAvailableDevices method

void registerAllAvailableDevices()

A convenient method for creating and registering all devices which are available in each SamplingPackage that has been registered in the SamplingPackageRegistry.

Implementation

void registerAllAvailableDevices() {
  for (var package in SamplingPackageRegistry().packages) {
    registerDevice(package.deviceType, package.deviceManager);
  }
}